]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PaxosService: fix proposal waiter handling
authorSage Weil <sage@inktank.com>
Tue, 19 Mar 2013 04:00:06 +0000 (21:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 19 Mar 2013 04:00:06 +0000 (21:00 -0700)
commit7aec13f749035b9bef5e398c1ac3d56ceec8eb81
tree445d702446d432e73f2fb8056bedd3402fe96738
parent35ab2a4189103abc25035a489a74b8261e9317c2
mon/PaxosService: fix proposal waiter handling

- Cancel the propsal waiters with EAGAIN on election, etc.
- Drop the wakeup helper and open-code the one caller.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/mon/PaxosService.cc
src/mon/PaxosService.h