Skip to content

Conversation

@whbing
Copy link
Contributor

@whbing whbing commented Apr 26, 2024

What changes were proposed in this pull request?

OM crash as the following logs:

2024-04-26 13:29:26,517 [JvmPauseMonitor0] ERROR org.apache.ratis.server.RaftServer: om2: JVM pause detected 145.979s longer than the close-threshold 60s, shutting down ... 

This pr makes the close-threshold value configurable from the OM side.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10761

How was this patch tested?

manual tests: debug ratis and trace the value.

@whbing
Copy link
Contributor Author

whbing commented Apr 26, 2024

@szetszwo @adoroszlai Hi, could you help to review if you have time ?

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.

@whbing , thanks a lot for working on this!

  • Let's don't have the formatting/whitespace changes here. It is hard to review. We may do it separately.
  • Let's don't get the same conf twice. It makes it hard to see the relation of the ratis/ozone confs.

Please see also the comments inlined and also https://issues.apache.org/jira/secure/attachment/13068497/6594_review.patch

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 06c7cb4 into apache:master Apr 28, 2024
@szetszwo
Copy link
Contributor

... try to keep less formatting changes.

@whbing , thanks for doing that.! How about submitting another pull request for the formatting changes?

@whbing
Copy link
Contributor Author

whbing commented Apr 29, 2024

@whbing , thanks for doing that.! How about submitting another pull request for the formatting changes?

Great, I'll handle it later.
link : #6605

@whbing
Copy link
Contributor Author

whbing commented Apr 29, 2024

@szetszwo Thanks for review and merge !

jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Sep 16, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Sep 18, 2024
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