Skip to content
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

rocksdbjni: ReadOption#setIterateUpperBound does not support DirectSlice #13098

Open
lizhanhui opened this issue Oct 29, 2024 · 1 comment
Open
Labels

Comments

@lizhanhui
Copy link

Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

Expected behavior

Iterator created with DirectSlice upper bound should work exactly the same way Slice bound.

Actual behavior

Iterator created with DirectSlice is invalid.

Steps to reproduce the behavior

Here is a minimal reproducible code that may verify Slice bound works while DirectSlice fails:

https://github.com/lizhanhui/rocksdb-bug-report/blob/main/src/test/java/lab/rocksdb/RocksDBTest.java

@gitlijian
Copy link

hi, @lizhanhui I think this class is implemented in Java. Is there any problem with implementing this class in Java, or are you calling it incorrectly?
image

@cbi42 cbi42 added the java label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants