Skip to content

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

Merged
szetszwo merged 1 commit into
apache:masterfrom
whbing:HDDS-10761
Apr 28, 2024
Merged

HDDS-10761. Add raft close threshold config to OM RaftProperties#6594
szetszwo merged 1 commit into
apache:masterfrom
whbing:HDDS-10761

Conversation

@whbing

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

OM crash as the following logs:

2024-04-2613:29:26,517 [JvmPauseMonitor0] ERRORorg.apache.ratis.server.RaftServer: om2: JVMpausedetected145.979slongerthantheclose-threshold60s, shuttingdown ... 

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
Copy Markdown
ContributorAuthor

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

@szetszwoszetszwo left a comment

Copy link
Copy Markdown
Contributor

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

@szetszwoszetszwo left a comment

Copy link
Copy Markdown
Contributor

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:masterApr 28, 2024
@szetszwo

Copy link
Copy Markdown
Contributor

... try to keep less formatting changes.

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

@whbing

whbing commented Apr 29, 2024

Copy link
Copy Markdown
ContributorAuthor

@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
Copy Markdown
ContributorAuthor

@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
vtutrinov pushed a commit to vtutrinov/ozone that referenced this pull request Jan 30, 2026
Sign up for freeto 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

@whbing@szetszwo