Skip to content

Instantly share code, notes, and snippets.

@sttts
Created July 14, 2016 12:11
Show Gist options
  • Save sttts/dd81c59f013c499d76585274eb05c8e1 to your computer and use it in GitHub Desktop.
Save sttts/dd81c59f013c499d76585274eb05c8e1 to your computer and use it in GitHub Desktop.
re-join of an etcd node from a backup snapshot
2016-07-14 14:09:06.251994 D | rafthttp: failed to dial 368ff4e7245ee2e3 on stream MsgApp v2 (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
2016-07-14 14:09:06.252417 D | rafthttp: failed to dial 368ff4e7245ee2e3 on stream Message (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
2016-07-14 14:09:06.317827 D | rafthttp: failed to write 368ff4e7245ee2e3 on pipeline (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
2016-07-14 14:09:06.318208 D | raft: ce2a822cea30bfca failed to send message to 368ff4e7245ee2e3 because it is unreachable [next = 10346, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:06.353686 D | rafthttp: failed to dial 368ff4e7245ee2e3 on stream Message (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
2016-07-14 14:09:06.353851 D | rafthttp: failed to dial 368ff4e7245ee2e3 on stream MsgApp v2 (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
2016-07-14 14:09:06.716177 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10346 - 10388, term: 2] to 368ff4e7245ee2e3 [next = 10346, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.216186 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10346 - 10389, term: 2] to 368ff4e7245ee2e3 [next = 10346, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.501502 I | rafthttp: the connection with 368ff4e7245ee2e3 became active
2016-07-14 14:09:07.508817 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10346 - 10389, term: 2] to 368ff4e7245ee2e3 [next = 10346, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.508984 D | raft: ce2a822cea30bfca received msgApp rejection(lastindex: 9489) from 368ff4e7245ee2e3 for index 10345
2016-07-14 14:09:07.509003 D | raft: ce2a822cea30bfca decreased progress of 368ff4e7245ee2e3 to [next = 9490, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.509020 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 9490 - 9597, term: 2] to 368ff4e7245ee2e3 [next = 9490, match = 0, state = ProgressStateProbe, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.509188 D | raft: ce2a822cea30bfca received msgApp rejection(lastindex: 9489) from 368ff4e7245ee2e3 for index 10345
2016-07-14 14:09:07.509198 D | raft: ce2a822cea30bfca received msgApp rejection(lastindex: 9489) from 368ff4e7245ee2e3 for index 10345
2016-07-14 14:09:07.534279 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 9597 - 9703, term: 2] to 368ff4e7245ee2e3 [next = 9597, match = 9596, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.616980 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 9703 - 9810, term: 2] to 368ff4e7245ee2e3 [next = 9703, match = 9702, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.716864 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 9810 - 9915, term: 2] to 368ff4e7245ee2e3 [next = 9810, match = 9809, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.725833 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 9915 - 10022, term: 2] to 368ff4e7245ee2e3 [next = 9915, match = 9809, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.817469 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10022 - 10128, term: 2] to 368ff4e7245ee2e3 [next = 10022, match = 10021, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:07.917671 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10128 - 10235, term: 2] to 368ff4e7245ee2e3 [next = 10128, match = 10127, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
2016-07-14 14:09:08.017855 D | raft: ce2a822cea30bfca [firstindex: 5303, commit: 10345] send append[index: 10235 - 10391, term: 2] to 368ff4e7245ee2e3 [next = 10235, match = 10234, state = ProgressStateReplicate, waiting = false, pendingSnapshot = 0]
@sttts
Copy link
Author

sttts commented Jul 14, 2016

Especially note the line 2016-07-14 14:09:07.508984 D | raft: ce2a822cea30bfca received msgApp rejection(lastindex: 9489) from 368ff4e7245ee2e3 for index 10345 and the following lines which start at index 9489.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment