Skip to content

Fix upper bound detection in RangeIterator prefetch - #34

Merged
mafintosh merged 1 commit into
holepunchto:mainfrom
caolan:bug-prefetch-upper-bound
Mar 24, 2026
Merged

Fix upper bound detection in RangeIterator prefetch#34
mafintosh merged 1 commit into
holepunchto:mainfrom
caolan:bug-prefetch-upper-bound

Conversation

@caolan

@caolan caolan commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Related to holepunchto/hyperdb#91

It was attempting to request a key using an index from the children array. It also appeared to check the wrong key offset for the upper bound.

@mafintosh
mafintosh merged commit 4bbbf9d into holepunchto:main Mar 24, 2026
4 checks passed
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.

2 participants