Geo: Gracefully handle gitlab-reconfigure on Patroni Leader

Whenever gitlab-ctl reconfigure runs on a Patroni Leader instance, there’s a chance the node will be demoted due to the required short-time restart. To avoid this, you can pause auto-failover by running gitlab-ctl patroni pause. After a reconfigure, it unpauses on its own.

  • This is risky and we need to figure out the best way to do this.
  • Investigation needed
  • When we reconfigure Patroni is hard restarted, causes a potential failover issue
Edited by Fabian Zimmer