primary가 죽은 뒤 새 primary가 뽑히기까지

primary가 죽은 뒤 새 primary가 뽑히기까지 A sequence diagram generated by Archify. heartbeat (2초마다) 나는 PRIMARY, term 2 타이머 재설정 heartbeat 실패, 재시도 만료: 선출 시작 requestVotes dryRun, term 2 voteGranted term 3, 자신에게 투표 기록 requestVotes term 3 voteGranted, lastVote 기록 catch-up, drain, 새 term 엔트리 기다리던 쓰기 평소 장애 투표 전환 드라이버 · 쓰기 대기 · Sequence participant 드라이버 쓰기 대기 옛 primary · term 2 · Sequence participant 옛 primary term 2 투표자 · secondary · Sequence participant 투표자 secondary 후보 · secondary · Sequence participant 후보 secondary election timeout · 10초 + 무작위 · Sequence participant election timeout 10초 + 무작위 local 저장소 · lastVote, oplog · Sequence participant local 저장소 lastVote, oplog Legend 선출 경로 응답 타이머 재설정 요청, 기록