-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Scan cursor has unreasonable config #3421
Comments
You could set |
What's the meaning for client to set |
No cursor. |
null scanCurosr can mean |
Just follow the origin interface. |
But in the origin interface, client does not need to set has_next. |
Ok, it's my fault. Now we should set it in request. |
If |
Yes, maybe we could remove |
this issue appear after #3262.
The
scan
request requires the client to explicitly set thehas_next
in the requestScanCursor
to true, which is unreasonable. The value ofhas_next
should not allow the client to parameterize.When client call
scan
interface for the first time, client needs to set next_cursor to"".getBytes
to scan from the beginning. I suggest to change"".getBytes
tonull
, then clients will not need to explicitly set thenext_cursor
.The text was updated successfully, but these errors were encountered: