The rake task gitlab:db:lock_writes should not lock shared databases
What does this MR do and why?
Addressing issue #368362 (closed)
How to set up and validate locally
Setup your database (database.yml) according to the config in the issue: Addressing issue #368362 (closed)
Then run the rake task ./bin/rake gitlab:db:lock_writes
. You should see all the tables on main
allowing writes, with no changes on the ci
database which is shared with the main
database.
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.