You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into issues with the scan operations for the KvClient. Issue that might be related #631
1. Describe the bug
The following two operations don't seem to work correctly for the KvClient scan(ByteString startKey, long version, int limit) scan(ByteString startKey, long version)
The former is just calling the later so that is kind of expected.
Bug Report
I am running into issues with the
scan
operations for theKvClient
. Issue that might be related #6311. Describe the bug
The following two operations don't seem to work correctly for the
KvClient
scan(ByteString startKey, long version, int limit)
scan(ByteString startKey, long version)
The former is just calling the later so that is kind of expected.
2. Minimal reproduce step
I added 11 key value pairs to tikv.
scan(ByteString startKey, ByteString endKey, long version)
works correctly. What follows is in Clojure but can very likely also be produced in Java.Here is the stacktrace for the error from the second invocation:
I suspect that the bug is in the code at this location:
client-java/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java
Lines 95 to 111 in 870a9fb
3. What did you see instead
See above.
4. What did you expect to see?
Correct scanning operations as described in the API at https://tikv.github.io/client-java/site/apidocs/index.html.
5. What are your Java Client and TiKV versions?
I used the tikv setup describe in this tutorial.
The text was updated successfully, but these errors were encountered: