While working on improving the automation of Gerrit failover after the last incident we had; we opened the conversation to challenge the way we are synchronizing data across Gerrit instances. In this conversation, the idea of using Gerrit's read-only plugin emerged as a potential solution to simplify the way we are handling things. The best case scenario would be to be able to stop contributions from coming-in while embedded replication finishes its jobs, switch-over to the other instance and wait for the proper conditions to be satisfied to open the service again for writes.
- ensure of it is still maintained as the last commit is old enough to raise the question.
- explore the capabilities and compatibility of the read-only plugin to ensure it would fit our use case
- test the solution
- implement in production
- update gerrit failover cookbook