-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always create snapshot when cluster version changes
When downgrading or offline migration, etcd read the maximum version from the WAL files, so as to ensure the operation is allowed. It also reads the verson from `ClusterVersionSet` request, so we should create a snapshot when cluster version chanages, so as not to block the downgrade or migration operations. Signed-off-by: Benjamin Wang <[email protected]>
- Loading branch information
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters