The Limits of the CAP Theorem
> In the event that the leaseholder is partitioned away from the other replicas, it will be allowed to continue to serve reads (but not writes) until its lease expires (leases currently last 9 seconds by default), and then one of the other two replicas will get a new lease (after waiting for the first replica’s lease to expire).<p>So, what happens to readers who are partitioned away from the node which holds that data? Can they not read the data for that lease duration? If they can't, then yeah, CP is a good description.<p>...<p>So the design doc seems to hold this up - reads must go to the lease holder, until the lease expires. Nice.<p>EDIT: Design doc link:<p><a href="https://github.com/cockroachdb/cockroach/blob/master/docs/design.md" rel="nofollow">https://github.com/cockroachdb/cockroach/blob/master/docs/de...</a>