]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: paxos add the timeout function when peon recovery 10359/head
authorsongbaisen <song.baisen@zte.com.cn>
Wed, 20 Jul 2016 01:14:00 +0000 (09:14 +0800)
committersongbaisen <song.baisen@zte.com.cn>
Wed, 20 Jul 2016 01:14:00 +0000 (09:14 +0800)
commit05795cd7f3db4e0cb2db3a34993db10c2aede1b3
tree874d9d142f44a89912233180db774883a7f8fcc7
parent5de4a9cef6d914f41a35f02fbcd55c05fd705e7a
mon: paxos add the timeout function when peon recovery

 Now the peon only have 10s from init to active.But when the leader

 from init to active he may start twice or more recovery collect when

 meet a higher pn than himself.It means the leader from init to active

 may spend more than 10S.So it is not reasonable for the peon only have

 one 10s timeout event.

Signed-off-by: song baisen <song.baisen@zte.com.cn>
src/mon/Paxos.cc