Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/consensus: added more context to stepdown log #4206

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented Apr 6, 2022

Added more context to stepping down log entry. Now we will be able to
check what was the actual reason of a node stepping down.

fixes #4210

Release notes

Improvements

  • make debugging raft issues easier

@mmaslankaprv
Copy link
Member Author

/backport v21.11.x

ztlpn
ztlpn previously approved these changes Apr 6, 2022
src/v/raft/consensus.cc Outdated Show resolved Hide resolved
Added more context to `stepping down` log entry. Now we will be able to
check what was the actual reason of a node stepping down.

Signed-off-by: Michal Maslanka <michal@vectorized.io>
Copy link
Contributor

@jcsp jcsp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

@jcsp jcsp merged commit 33b14e4 into redpanda-data:dev Apr 6, 2022
dotnwat added a commit that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add more context to stepping down log entry
3 participants