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

HDDS-10761. Add raft close threshold config to OM RaftProperties #6594

Merged
merged 1 commit into from Apr 28, 2024

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
39 checks passed
@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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants