Skip to content

Add suggestion about logging

Jan Provaznik requested to merge docs-data-deletion into master

What does this MR do and why?

Adds a documentation about using structured logging for migrations which delete records (and which have potential of data-loss).

  • retrospectively this is something what would be useful when restoring data in the recent incident
  • also it provides better visibility to what records are deleted (or would be if dry run is used)

Related to https://gitlab.com/gitlab-org/plan/-/issues/492

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.

Edited by Jan Provaznik

Merge request reports