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

[hotfix] Improve log message for becomeLeaderAndFollower #667

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

luoyuxia
Copy link
Collaborator

Purpose

Linked issue: close #xxx

Improve the log message for becomeLeaderAndFollower to help debug

Brief change log

Tests

API and Format

Documentation

@@ -835,16 +835,20 @@ private void addFetcherForReplicas(
// error to let CoordinatorServer retry sending makeLeaderOrFollower request.
// This situation will be happened if the leader serverNode is offline and
// didn't recovery now.
LOG.error(
"Could not find leader {} in server metadata for replica {} while make follower for {}.",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It'll be much better to print the leader id ..

@luoyuxia luoyuxia requested review from wuchong and swuferhong March 26, 2025 08:34
@wuchong wuchong merged commit 30b395d into alibaba:main Mar 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants