Skip to content

Conversation

@venkatsambath
Copy link
Contributor

@venkatsambath venkatsambath commented Feb 1, 2025

When one of the Ozone OM falls back and bootstraps, the logs are printed very frequently and it rolls off 30 log files (of 200MB each) in 15 mins. Since logs are rolled off too quick, troubleshooting cause of bootstrap is becoming difficult.

What changes were proposed in this pull request?

Updated the logging to BatchLogger using the review patch from @szetszwo #1216 - I closed that pull request by mistake.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2244

How was this patch tested?

Logging change. Didnt create unit test for this change.

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

@venkatsambath , thanks for the update! Please see the comment inlined.

private final String name;
private final Object name;

private UniqueId(Key key, String name) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change the class of name to Object. I forgot to do it in my review.

Copy link
Contributor Author

@venkatsambath venkatsambath Feb 2, 2025

Choose a reason for hiding this comment

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

Sure, I've updated the class from string to object now and updated the commit. fb0b266

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good

@szetszwo szetszwo merged commit 2664ac8 into apache:master Feb 3, 2025
13 checks passed
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request Mar 30, 2025
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request May 23, 2025
szetszwo pushed a commit to szetszwo/ratis that referenced this pull request May 23, 2025
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