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

[3.5] clientv3: remove v3.WithFirstKey() in Barrier.Wait() #16188

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

kensou97
Copy link
Contributor

@kensou97 kensou97 commented Jul 6, 2023

3.5 backport of #16156

fix the unexpected blocking when using Barrier.Wait(), e.g.
NewBarrier(client, "a").Wait() will block if key "a" is not existed but "a0" is existed, but it should return immediately.

Signed-off-by: zhangwenkang <zwenkang@vmware.com>
@ahrtr
Copy link
Member

ahrtr commented Jul 6, 2023

Please also add a changelog item in CHANGELOG-3.5.md

kensou97 added a commit to kensou97/etcd that referenced this pull request Jul 6, 2023
Signed-off-by: zhangwenkang <zwenkang@vmware.com>
@ahrtr ahrtr merged commit e5bd8f4 into etcd-io:release-3.5 Jul 6, 2023
12 checks passed
ahrtr added a commit that referenced this pull request Jul 6, 2023
@kensou97 kensou97 deleted the release-3.5 branch July 10, 2023 15:15
@serathius serathius mentioned this pull request Oct 12, 2023
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.

3 participants