Skip to content
  • John T Skarbek's avatar
    Adds an alert when consuls fails to find a postgres master · f7bb0974
    John T Skarbek authored
    * This is a bit tricky, each consul node will report that it knows about
    the primary node
    * Due to this, sums up, if less than 3, there is SOME problem
      1. We are short on consul servers, which is still bad overall
      1. No master detected, which is problematic as if there's a failover,
      pgbouncer won't be able to recreate it's configuration properly
      1. We are in the middle of a failover
    * I linked to the main postgresql document due to troubleshooting this
    being quite tricky
    * I'm unsure of the best way to handle this....
    * Closes: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5358
    f7bb0974