diff options
author | Sage Weil <sage@inktank.com> | 2013-07-19 16:59:15 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-19 16:59:15 -0700 |
commit | 0356eebfa51d0f3bb94102c271776250f610d090 (patch) | |
tree | ea835825e338001962fc39f8a7591e4974273d28 | |
parent | 6d326b84248b6069e8c90acdf1389204848f1bd3 (diff) | |
download | ceph-0356eebfa51d0f3bb94102c271776250f610d090.tar.gz |
mon/PaxosService: update on_active() docs to clarify calling rules
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/mon/PaxosService.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mon/PaxosService.h b/src/mon/PaxosService.h index a5761d19ad8..74d5a90494c 100644 --- a/src/mon/PaxosService.h +++ b/src/mon/PaxosService.h @@ -438,8 +438,9 @@ public: /** * This is called when the Paxos state goes to active. * - * @remarks It's a courtesy method, in case the class implementing this - * service has anything it wants/needs to do at that time. + * On the peon, this is after each election. + * On the leader, this is after each election, *and* after each completed + * proposal. * * @note This function may get called twice in certain recovery cases. */ |