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

server/storage/mvcc: deflake TestHashKVWhenCompacting #16549

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

fuweid
Copy link
Member

@fuweid fuweid commented Sep 6, 2023

The HashByRev-goroutines exit since receive donec notification. The Check-computed-hashes goroutine could not have chance to get the hash result and be stuck forever. We should add case for donec when we wait for hash result.

Closes: #16266

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

The HashByRev-goroutines exit since receive `donec` notification. The
Check-computed-hashes goroutine could not have chance to get the hash
result and be stuck forever. We should add case for donec when we wait
for hash result.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

thx @fuweid

@ahrtr ahrtr merged commit e5638d9 into etcd-io:main Sep 6, 2023
27 checks passed
@fuweid fuweid deleted the deflake-test-TestHashKVWhenCompacting branch September 6, 2023 13:10
@jmhbnz jmhbnz mentioned this pull request Sep 25, 2023
9 tasks
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.

server/v3/storage/mvcc TestHashKVWhenCompacting is flaking
2 participants