rocksdbjni: ReadOption#setIterateUpperBound does not support DirectSlice
lizhanhui opened this issue · 1 comments
lizhanhui commented
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 commented
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?