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] Set the backend again after recovering v3 backend from snapshot #13501

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

ahrtr
Copy link
Member

@ahrtr ahrtr commented Nov 24, 2021

Fix issues/13494.

When etcd recovers v3 backend from a snapshot, then it closes the old backend, see backend.go#L107. So we should set the backend for the consistentIndex again in this case.

This PR is for 3.5. A separate PR pull/13500 has already been submitted for the main branch.

cc @ptabor @serathius @jingyih

/kind bug

@ptabor ptabor merged commit 73080a7 into etcd-io:release-3.5 Dec 6, 2021
@serathius serathius mentioned this pull request Dec 6, 2021
9 tasks
hasbro17 pushed a commit to hasbro17/etcd that referenced this pull request Feb 2, 2022
[3.5] Set the backend again after recovering v3 backend from snapshot
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.

None yet

3 participants