Skip to content

Monitor table lock writes status on GitLab.com

Problem

We have CI decomposed databases on GitLab.com. To ensure integrity we lock-writes tables that are not supposed to be written to (ci tables on main DB, and vice versa)

We have run gitlab:db:lock_writes a few times already. Now we should have monitoring to ensure all tables have correct lock-writes status.

Proposal

Ideas:

/cc @OmarQunsulGitlab @rutgerwessels @rhenchen.gitlab @DylanGriffith @alexives

Edited by Thong Kuah