-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
etcdserver: Fix invalid count returned on Range with Limit #13060
Conversation
6593262
to
a8a738a
Compare
There are some flakes
I don't know why we don't close the cluster. One of the options is that we hit:
so we don't execute: Maybe it would be easier if the body of the method into:
|
There was small error in test cases I added, it should pass now. Still it's worrying that test failures are so unreadable, I would be happy to improve this. |
Thank you for fixing it. Please prepare a backport PR (for branch |
Backport PR created #13064 |
Most likely this is the reason for a sudden performance drop in my test script. #13068 Do we have any other solution to this? |
Fixes #13056
PR #11990 introduced a breaking change where Count would no longer count all keys under range, but only up to the Limit. This change is a breaking change in behavior and is blocking Kubernetes from using 3.5 release as this breaks
RemainingItemCount
in K8s API.