Skip to content

WIP: Naïve & Lazy Failover

John Cai requested to merge jc-naiive-failover into jc-realtime-replication

This is a WIP for discussion purposes to discuss our failover strategy.

The approach in this MR is to:

  1. Detect when we cannot reach a server
  2. Lock the coordinator so no new requests can go through
  3. Update the datastore by finding all repositories with the failed connection/storage as its primary by promoting one of its replicas to the primary

Merge request reports