Skip to content
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

Added Cursor type #35

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Added Cursor type #35

merged 1 commit into from
Mar 29, 2022

Conversation

crodas
Copy link
Owner

@crodas crodas commented Mar 26, 2022

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.

@crodas crodas force-pushed the feature/scan branch 6 times, most recently from d528b9e to 1090686 Compare March 28, 2022 18:42
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.
@crodas crodas merged commit 25bdbc3 into feature/keys Mar 29, 2022
@crodas crodas deleted the feature/scan branch March 29, 2022 01:59
crodas added a commit that referenced this pull request Mar 29, 2022
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.
crodas added a commit that referenced this pull request Mar 29, 2022
* Added `keys` command

Added `keys` command.

* Add TYPE command

* Added UNLINK which is an alias to DEL

* Added COPY command

* Added support for MOVE

Also renamed all command definitions to uppercase to avoid using
reserved keywords.

* Added RENAME and RENAMENX

* Added OBJECT command handler

Also improved the help sector adding a cmd/help.rs which hosts all the
help texts for all commands.

* Added Cursor type (#35)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant