Skip to content

Use datastore to store the primary node

John Cai requested to merge jc-update-datastore-to-contain-primaries into master

addresses: #1615 (closed)

In order to have naïve failover, we need the coordinator to be able to use a different primary on the fly. One way to do this is to store the primary in the datastore and have the coordinator query it.

This is not a long term scalable solution (#1615 (comment 185659058)), as we don't want to hit the database every RPC but this simplifies things for the time being and gets us closer to a working POC.

Merge request reports