Skip to content

*SCAN and iterator as a string - Redis Python library fix #417

Answered by ShooterIT
adulau asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @adulau Redis return the cursor which is long type since the cursor is related to dictionary hash slot, but in kvrocks, we store all keys in SST file, we can't find a long type value to record the iterator point, we use the iterated key as cursor, so the cursor is string type.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@adulau
Comment options

@ShooterIT
Comment options

Answer selected by adulau
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants