-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add migrations troubleshoot warning #4629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my suggestions
Any schema change that was made by incorrect migration before the fail or | ||
cancellation must be resolved manually on each replicaset before reapply. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any schema change that was made by incorrect migration before the fail or | |
cancellation must be resolved manually on each replicaset before reapply. | |
Any schema change that was made by an incorrect migration before its fail or | |
cancellation must be resolved manually on each replica set before reapply. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Apply flags like ``--force-reapply`` affect only internal migration status and | ||
unable to revert migration scenario itself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply flags like ``--force-reapply`` affect only internal migration status and | |
unable to revert migration scenario itself. | |
``--force-reapply`` and other ``tt migrations`` options affect only internal status of the migration | |
and don't revert changes that it has made in the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
bd9e7b6
to
ef162ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for the addition.
Some users expect that
--force-reapply
or--overwrite
will revert the partial result of incorrect migration, yet it is impossible. This patch adds a warning regarding this expectation.