Skip to content

Bugfix/issue 546#583

Merged
wskozlowski merged 7 commits into
mainfrom
bugfix/issue_546
Dec 5, 2025
Merged

Bugfix/issue 546#583
wskozlowski merged 7 commits into
mainfrom
bugfix/issue_546

Conversation

@adrian-zawadzki

@adrian-zawadzki adrian-zawadzki commented Dec 5, 2025

Copy link
Copy Markdown
Collaborator

fixme(index): prevent Infinite loop when adding to index

changed check for canInsert in RangeIterator
added tests for insert into splitted range in index

Fixes #546

Comment thread python_tests/test_index.py Outdated
print(f"Inserted 1M keys to index in {end - start:.2f} seconds")

@pytest.mark.stress_test
def test_insert_key_into_splitted_range(db0_no_autocommit):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be test_insert_key_into_split_range (there's no such word as splitted)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

@wskozlowski wskozlowski merged commit d067aae into main Dec 5, 2025
3 checks passed
@wskozlowski wskozlowski deleted the bugfix/issue_546 branch December 5, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Index falls into a loop when calling len

2 participants