Skip to content

Conversation

@ashishkumar50
Copy link
Contributor

@ashishkumar50 ashishkumar50 commented Apr 4, 2024

What changes were proposed in this pull request?

Currently during normal SCM stop it's going into deadlock situation, detail is in Jira.
During normal SCM stop we should not terminate SCM through statemachine when called by ratis. Instead SCM should stop all the worker threads and shutdown gracefully.

What is the link to the Apache JIRA

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

How was this patch tested?

Verified in the cluster for graceful exit

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

@ashishkumar50 LGTM, when explicitly close() is called by SCMHAManager, that time transaction buffer and other close is done. No need call shutdown if already triggered.

@sumitagrawl sumitagrawl merged commit b8faba6 into apache:master Apr 8, 2024
Tejaskriya pushed a commit to Tejaskriya/ozone that referenced this pull request Apr 17, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Jun 10, 2024
…normal SCM stop. (apache#6478)

Co-authored-by: ashishk <[email protected]>
(cherry picked from commit b8faba6)
Change-Id: Idb1390ed278fbd9e79ad5fdd30337e1e993f9727
ivandika3 pushed a commit to ivandika3/ozone that referenced this pull request Oct 12, 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.

3 participants