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

RATIS-2229. Do not print the same conf values multiple times. #1200

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

szetszwo
Copy link
Contributor

@szetszwo szetszwo requested a review from adoroszlai January 2, 2025 20:06
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @szetszwo for the patch, LGTM. My only concern is that the conf cache is shared in the JVM -- which mostly affects "mini cluster" tests.

@szetszwo
Copy link
Contributor Author

szetszwo commented Jan 2, 2025

@adoroszlai , thanks a lot for reviewing this!

My only concern is that the conf cache is shared in the JVM -- which mostly affects "mini cluster" tests.

When the key-value pairs are the same, it is okay to not printing it.

This is mainly for the classes like GrpcLogAppender. It will keep printing a long list of conf when it keeps restarting in some failure cases.

@szetszwo szetszwo merged commit 6f34fb1 into apache:master Jan 3, 2025
13 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