crodas / microredis

Redis server implemented in rust.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Added Cursor type #35

Closed crodas closed 2 years ago

crodas commented 2 years ago

The cursor type is serialized an string with integers. The integer contains a tuple with (bucket_id, last_position) and a checksum. If the cursor is invalid a new cursor with position (0, 0) is deserialized instead.