3 ms·
Can't an extra layer of inconsistencies arise if there's a network partition, and each yoke process thinks it should be the primary, so both accept writes?
by icebraining 11y ago
Can't an extra layer of inconsistencies arise if there's a network partition, and each yoke process thinks it should be the primary, so both accept writes?
- EwanToo 11y agoI guess so yeah, I hadn't considered that :)
- dan353hehe 11y agoThats true, however in yokes case, each cluster needs a third member called a monitor who only serves to resolve network partitions. a secondary cannot self promote to primary without the monitor agreeing. two node systems can never work as a primary/secondary failover solution in the presence of a network partition. disclosure: I helped write yoke.
- tveita 11y agoCan the old master still accept requests if it loses contact with the monitor or secondary? What happens if the monitor goes down? Can there be data loss on failover? It would be nice if the readme listed what failure scenarios are handled and what guarantees you intend the system to have.