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

mvcc: fix count #6152

Merged
merged 1 commit into from
Aug 10, 2016
Merged

mvcc: fix count #6152

merged 1 commit into from
Aug 10, 2016

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented Aug 10, 2016

Fix #6145.

/cc @shyamradhakrishnan

In your example, count should be 4 not 5. Range query does not include the end key.

@xiang90
Copy link
Contributor Author

xiang90 commented Aug 10, 2016

/cc @heyitsanthony probably we need an option to disable count? it can avoid us from getting rid of the first unlimited key range.

@heyitsanthony
Copy link
Contributor

lgtm

there's already a Count bool in RangeOptions, but it's ignored right now

@xiang90 xiang90 merged commit 7eb43ea into etcd-io:master Aug 10, 2016
@xiang90 xiang90 deleted the fix_count branch August 10, 2016 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants