Skip to content

Detect and log cross-database modifications in production (v2)

Kamil Trzciński requested to merge 341783-log-cross-db-modifications-v2 into master

What does this MR do and why?

This is based on top of !73316 (closed) to make reduce amount of changes due to overlap with what is being offered by QueryAnalyzers.

How to set up and validate locally

export ENABLE_CROSS_DATABASE_MODIFICATION_DETECTION=1 # needed for `production` or `dev` environments

Feature.enable(:detect_cross_database_modification)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #341783 (closed)

Edited by Kamil Trzciński

Merge request reports