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: protect tree clone with write lock #10699

Merged
merged 1 commit into from
May 1, 2019

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented May 1, 2019

Use write lock when cloning index tree.

Fixes #10697.

cc @xiang90

@xiang90
Copy link
Contributor

xiang90 commented May 1, 2019

lgtm

@xiang90 xiang90 merged commit 8a86a60 into etcd-io:master May 1, 2019
jingyih added a commit to jingyih/etcd that referenced this pull request May 30, 2019
xiang90 added a commit that referenced this pull request May 30, 2019
@jingyih jingyih deleted the protect_tree_clone_with_write_lock branch September 7, 2019 07:09
nolouch pushed a commit to nolouch/etcd that referenced this pull request Dec 22, 2019
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.

Potential data race in TestResumeElection
2 participants