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

rkv misses revision 2 #56

Open
h-w-chen opened this issue Aug 23, 2022 · 0 comments
Open

rkv misses revision 2 #56

h-w-chen opened this issue Aug 23, 2022 · 0 comments

Comments

@h-w-chen
Copy link
Collaborator

when inserting key-value to rkv, revison 2 is missed in the sequence

How to reproduce

start rkv server,
run following client commands to insert 3 k-v pairs:

$ curl -X POST 127.0.0.1:8090/kv -d '{"key":"testk", "value":"testv1"}'
The key value pair (testk,testv1) has been saved as revision 1 at 127.0.0.1:16378,127.0.0.1:16378,127.0.0.1:16378
$ curl -X POST 127.0.0.1:8090/kv -d '{"key":"testk", "value":"testv2"}'
The key value pair (testk,testv2) has been saved as revision 3 at 127.0.0.1:16378,127.0.0.1:16378,127.0.0.1:16378
$ curl -X POST 127.0.0.1:8090/kv -d '{"key":"testk", "value":"testv3"}'
The key value pair (testk,testv3) has been saved as revision 4 at 127.0.0.1:16378,127.0.0.1:16378,127.0.0.1:16378

notice that revisions return are 1, 3, 4.

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

No branches or pull requests

1 participant