-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iterators don't stop iterating when specified "to" key is reached. #43
Labels
Comments
Can you provide a reduced test case for this? |
Here you go, this could be added to
|
We just ran into this today. It seems like there is no check against the end key here https://docs.rs/leveldb/0.8.6/src/leveldb/database/iterator.rs.html#137-150 ? |
jszwedko
added a commit
to vectordotdev/vector
that referenced
this issue
Jul 30, 2021
Works around skade/leveldb#43 Signed-off-by: Jesse Szwedko <[email protected]>
blt
pushed a commit
to vectordotdev/vector
that referenced
this issue
Aug 3, 2021
Works around skade/leveldb#43 Signed-off-by: Jesse Szwedko <[email protected]>
dbcfd
pushed a commit
to dbcfd/vector
that referenced
this issue
Aug 18, 2021
Works around skade/leveldb#43 Signed-off-by: Jesse Szwedko <[email protected]> Signed-off-by: dbcfd <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I instantiate a leveldb iterator like so:
I would expect the iteration to start at (or after) start_key, and stop at (or before) stop_key.
Here iteration do start after start_key, but never stops before the end of the DB is reached.
The text was updated successfully, but these errors were encountered: