Add guidance for irreversible data migrations
What does this MR do and why?
!77103 (comment 792695156) discussed the possibility of logging deleted records to either the database or the filesystem.
This will require further discussion. In the mean time this MR makes a small update to the guidance for irreversible data migrations.
The combined effect is intended to encourage the author to do three things:
- Interrogate the data available from production replica to understand the effect the migration will have in production.
- Consider how the migration could be reversed. In the event of the number of records being small, perhaps even build this into the migration.
- Consider what might happen if the migration goes wrong.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.