Skip to content

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

Merged
ahrtr merged 1 commit intoetcd-io:release-3.5from
kensou97:release-3.5
Jul 6, 2023
Merged

[3.5] clientv3: remove v3.WithFirstKey() in Barrier.Wait()#16188
ahrtr merged 1 commit intoetcd-io:release-3.5from
kensou97:release-3.5

Conversation

@kensou97
Copy link
Copy Markdown
Contributor

@kensou97 kensou97 commented Jul 6, 2023

3.5 backport of #16156

Comment thread tests/integration/clientv3/experimental/recipes/v3_barrier_test.go Outdated
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
Copy Markdown
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
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