Tags: hashicorp/raft
Tags
Add logging on active node when sending a snapshot to a follower (#636) * Add a log line on active node when sending snapshot to a follower * Add snap ID and peer ID to relevant log lines in sendLatestSnapshot; fix - use peer.ID instead of peer as a value in log line * Add an INFO log line when opening a snapshot in sendLatestSnapshot
NetworkTransport make pipelining configurable and default to max 2 in… … flight. (#541) * NetworkTransport make pipelining configurable and default to max 2 inflight * Add PR link * Fix net transport test * Use constants instead of magic numbers to express the semantics * Doc comment tweaks
check if server is in configuration when receiving a voteRequest (#526) * check if server is in configuration, and not have vote rights, when receiving a voteRequest * change test term to 20 to reduce the chance that the test passes when the bug manifest Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com> * non voter with higher term vote request would make the node step-down but don't grant a vote * fix test to check we use the right term * add more details in the comment and a reference to the PR Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
Improved election debug logs (#516) When debugging elections in production you want to know what happened in a particular term in order to identify what went wrong. Add term= to all of the relevent debug logs You also want to know which peers were contacted (their ID and their address) and what the result from them was so you know why an election was not won in a timely manner Finally the log that just says "votes" in the message field seems strange; improve the message.
PreviousNext