3 ms·
If a partitioned node can serve reads and the other nodes can serve writes then you must be reading stale data though.
by YZF 9y ago
If a partitioned node can serve reads and the other nodes can serve writes then you must be reading stale data though.
- Groxx 9y agoYeah, that outcome seems pretty straightforward... It's probably not hard to require that writes (which require a majority) also require the lease-holder to ack the write, which seems like it'd solve this. It's a bit odd that they don't mention anything like this, but it is a fairly short blog post. A bit of lazy browsing didn't lead me to any more detailed descriptions of how it handles partitions. Anyone else know?
- falcolas 9y agoWrites can only get issued from the partition holder, in addition to reads. I had to dig into the documentation links to find the design doc on github, which detailed this behavior.
- deleted 9y ago[deleted]
- falcolas 9y agoWrites also require the lease, so no data can be written until the lease expires. Writes becoming unavailable during a partition is a reasonable solution for a CP system.