]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PaxosService: simplify is_writeable
authorSage Weil <sage@inktank.com>
Thu, 6 Jun 2013 22:20:05 +0000 (15:20 -0700)
committerSage Weil <sage@inktank.com>
Wed, 19 Jun 2013 18:27:05 +0000 (11:27 -0700)
commitf985de28f86675e974ac7842a49922a35fe24c6c
treee83eb0b9029cef8ce19a7ab49373bff40f7b18d2
parent3aa61a0beb540e48bf61ceded766d6ff52c95eb2
mon/PaxosService: simplify is_writeable

Recast this in terms of paxos check + our conditions, and make it
match wait_for_writeable().

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