1747 2019-11-16 08:25:59.752 handle_probe_reply1748 2019-11-16 08:25:59.752 monmap is e2: 2 mons 1752 2019-11-16 08:25:59.752 sync_start mon.0 recent (设置monitor state = STATE_SYNCHRONIZING;)
10566 2019-11-16 08:25:59.744 handle_probe_probe
10784 2019-11-16 08:25:59.760 handle_propose from mon.110786 2019-11-16 08:25:59.760 ignoring old propose
发送lease
2675 2019-11-16 08:26:04.786 handle_collect paxos( collect lc 11 fc 1 pn 100 opn 0) v4 2677 2019-11-16 08:26:04.786 accepting pn 100 from 0发送OP_LAST消息
发送commit
1765 2019-11-16 08:25:59.753 handle_sync_cookie
2580 2019-11-16 08:26:04.759 handle_propose from mon.02582 2019-11-16 08:26:04.759 bump_epoch 1 to 72583 2019-11-16 08:26:04.781 join_election (设置monitor state = STATE_ELECTING)2601 2019-11-16 08:26:04.781 defer to 0 (会reset_timer(1.0);)
此时处于probe状态,忽略OP_PROPOSE请求
1778 2019-11-16 08:25:59.754 handle_sync_chunk2406 2019-11-16 08:25:59.756 sync_finish lc 11 from mon.0 192.168.159.133:6789/02496 2019-11-16 08:25:59.758 bootstrap2519 2019-11-16 08:25:59.758 probing other monitors
10739 2019-11-16 08:25:59.751 handle_sync_get_cookie
10515 2019-11-16 08:25:57.759 bootstrap10538 2019-11-16 08:25:57.759 probing other monitors
1680 2019-11-16 08:25:59.748 handle_probe_probe
10729 2019-11-16 08:25:59.751 handle_probe_probe
387 2019-11-16 08:25:59.241 bootstrap410 2019-11-16 08:25:59.241 probing other monitors
2814 2019-11-16 08:26:04.790 handle_commit on 12
10947 2019-11-16 08:26:04.784 handle_last paxos(last l c 11 fc 1 pn 100 opn 0) v410954 2019-11-16 08:26:04.784 refresh_from_paxos10986 2019-11-16 08:26:04.784 paxos(paxos recovering c 1..11) finish_round(设置Paxos state = STATE_ACTIVE;)10987 2019-11-16 08:26:04.784 finish_round waiting_for_acting (设置paxos state = STATE_ACTIVE;)10989 2019-11-16 08:26:04.784 paxosservice(monmap 1..2) _active creating new pending10990 2019-11-16 08:26:04.784 monmap v2 create_pending monmap epoch 311293 2019-11-16 08:26:04.787 commit_finish 1211294 2019-11-16 08:26:04.787 sending commit to mon.111330 2019-11-16 08:26:04.787 extend_lease now+5 (2019-11-16 08:26:09.788710)
10750 2019-11-16 08:25:59.752 handle_sync_get_chunk
10772 2019-11-16 08:25:59.758 handle_probe_probe
10846 2019-11-16 08:26:04.779 handle_ack from mon.110848 2019-11-16 08:26:04.779 bump_epoch 7 to 810849 2019-11-16 08:26:04.779 join_election //在这里monitor的状态变为STATE_ELECTING发送OP_VICTORY消息10869 2019-11-16 08:26:04.779 win_election epoch 8 (设置monitor state = STATE_LEADER;)10889 2019-11-16 08:26:04.780 collect with pn 100发送OP_COLLECT消息 10892 2019-11-16 08:26:04.780paxosservice (monmap1..2) election_finished10893 2019-11-16 08:26:04.780 paxosservice(monmap 1..2) _active - not activewait_for_active_ctx(new C_Active(this));