]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: not readable when LOCKED
authorSage Weil <sage@inktank.com>
Fri, 7 Jun 2013 18:14:58 +0000 (11:14 -0700)
committerSage Weil <sage@inktank.com>
Wed, 19 Jun 2013 18:27:05 +0000 (11:27 -0700)
commitec2ea86ed55e00265c2cc5ad0c94460b4c92865c
tree50c9be9200f983222f1ac5bd99b9472fcc3a8e7d
parent7b7ea8e30e20704caad9a841332ecb2e39819a41
mon/Paxos: not readable when LOCKED

If we are re-proposing a previously accepted value from a previous quorum,
we should not consider it readable, because it is possible it was exposed
to clients as committed (2/3 accepted) but not recored to be committed, and
we do not want to expose old state as readable when new state was
previously readable.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Paxos.cc