Open lizhanhui opened 2 weeks ago
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
Iterator created with DirectSlice upper bound should work exactly the same way Slice bound.
Iterator created with DirectSlice is invalid.
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
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?
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