Monitor/Alert on not locked tables on GitLab.com
On GitLab.com, which is already running with multiple databases setup, we lock writes on any legacy table:
-
gitlab_mainon thecidatabase -
gitlab_cion themaindatabase
We need some monitoring/alerting solutions on whether all the tables that are supposed to be locked are actually locked.
Context: #384852 (comment 1308278797)
Idea: Maybe we can add this functionality to the PostgreSQL checkup reports