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

consistent seems broken with waitIndex #362

Closed
philips opened this issue Dec 3, 2013 · 1 comment · Fixed by #363
Closed

consistent seems broken with waitIndex #362

philips opened this issue Dec 3, 2013 · 1 comment · Fixed by #363

Comments

@philips
Copy link
Contributor

philips commented Dec 3, 2013

$ curl -L 'http://127.0.0.1:4001/v2/keys/coreos.com/coreinit/machines?consistent=true&recursive=true&wait=true&waitIndex=1500'
{"action":"get","key":"/coreos.com/coreinit/machines","dir":true,"kvs":[{"key":"/coreos.com/coreinit/machines/3eb8c6f3-f0b2-49f1-8ec9-32203f9f6764","dir":true,"modifiedIndex":4},{"key":"/coreos.com/coreinit/machines/102d82da-40a8-464d-aef3-7ffbd995ce5a","dir":true,"modifiedIndex":12},{"key":"/coreos.com/coreinit/machines/5d39195a-76af-4fa7-86c9-6140faaf0d58","dir":true,"modifiedIndex":18}],"modifiedIndex":4}
$ curl -L 'http://127.0.0.1:4001/v2/keys/coreos.com/coreinit/machines?consistent=true&recursive=true&wait=true&waitIndex=1500'
{"action":"get","key":"/coreos.com/coreinit/machines","dir":true,"kvs":[{"key":"/coreos.com/coreinit/machines/3eb8c6f3-f0b2-49f1-8ec9-32203f9f6764","dir":true,"modifiedIndex":4},{"key":"/coreos.com/coreinit/machines/102d82da-40a8-464d-aef3-7ffbd995ce5a","dir":true,"modifiedIndex":12},{"key":"/coreos.com/coreinit/machines/5d39195a-76af-4fa7-86c9-6140faaf0d58","dir":true,"modifiedIndex":18}],"modifiedIndex":4}
@xiang90
Copy link
Contributor

xiang90 commented Dec 3, 2013

@philips Can you explain the problem a little more? I mean what is the different between the two command? Is there any problem other than waitIndex?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants