Hacker News new | ask | show | jobs
by elvinyung 3001 days ago
Actually hmm, do reads need to talk to all replicas in this case (serializable isolation)?
1 comments

As I understand it, reads only need to talk to the lease owner, which in turn bypasses raft since write consensus guarantees atomicity of after completion of write intents. Cockroach tries best-effort to have the lease owner and the raft leader be the same.