]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/HealthMontior: guard propose_pending() process
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 22 Jul 2017 06:05:32 +0000 (14:05 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 25 Jul 2017 02:24:44 +0000 (10:24 +0800)
commit17c4a76f7e3c09ed67eb4bc3c2928d1be2b8781b
treea1c124612425d2a003c458184c76c3a78d60ef20
parent507797ea24ddf1a772df5aa86536d212acbc53cd
mon/HealthMontior: guard propose_pending() process

Which is for leader only.
The current code logic has no problem but this is defensive
and therefore should be considered as a fine cleanup.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/HealthMonitor.cc