Skip to content

Scan cursor has unreasonable config #3421

Closed
@Nicole00

Description

@Nicole00

this issue appear after #3262.

  1. The scan request requires the client to explicitly set the has_next in the request ScanCursor to true, which is unreasonable. The value of has_next should not allow the client to parameterize.

  2. 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 to null, then clients will not need to explicitly set the next_cursor.

Metadata

Metadata

Assignees

Labels

type/bugType: something is unexpected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions