old-raft-rs icon indicating copy to clipboard operation
old-raft-rs copied to clipboard

Stale Reads

Open danburkert opened this issue 9 years ago • 2 comments

As of today the master will immediately satisfy client queries, which may result in stale reads during failover scenarios. Diego's thesis goes into detail about the cause and possible solutions to this issue in section 6.4. We should come up with a plan for how to tackle this.

danburkert avatar Aug 26 '15 05:08 danburkert

There's this one: https://www.cs.cmu.edu/~dga/papers/leases-socc2014.pdf I had looked at it before and it seemed promising after some adjustments.

tbg avatar Aug 26 '15 05:08 tbg

One cute little hack for now is to have the request respond with the time since a heartbeat. Then we can just check this value to see if this is consistent or merely timeline consistent

posix4e avatar Aug 26 '15 21:08 posix4e