Fix iterator moving backwards and created unit test for the JniDBIterator#52
Conversation
|
We are having the same issues with the existing iterator. Would be nice if this could be fixed / pulled in the leveldbjni repository. |
Fix iterator moving backwards and created unit test for the JniDBIterator
|
Thanks for this, great work. |
|
@Jaap-Jan u @davsclaus Either we have this commit backed out or fix the issue and update the DBTest.java for new iterator behavior?? |
|
@jerrydlamme you are welcome to do a PR with a fix. |
|
@davsclaus leveldb API says: This commit put the iterator at a fake position after the last key, which is not correct. The moving back Can you support this revert ? Thanks |
|
yeah sure a PR is welcome |
Iterator follows the following principles