Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Support upgrade --dry-run #1985

Open
Ehco1996 opened this issue Aug 12, 2021 · 0 comments
Open

Support upgrade --dry-run #1985

Ehco1996 opened this issue Aug 12, 2021 · 0 comments
Labels
type/feature New feature

Comments

@Ehco1996
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

Before upgrading the dm cluster, use the upgrade -dry-run command to check if the upgrade will be successful

  1. Make sure all tasks are suspended before upgrading

  2. Connect to the etcd of the current cluster and copy all the keys to a new prefix

  3. Start a new version dm-master and check the status of all keys with the keys copied in the previous step

  4. clear the second copied key if no abnormalities are found and stop the new server

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@Ehco1996 Ehco1996 added the type/feature New feature label Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant