HDDS-15151. optimize pipeline closure time in error scenario#10163
Draft
sumitagrawl wants to merge 1 commit intoapache:masterfrom
Draft
HDDS-15151. optimize pipeline closure time in error scenario#10163sumitagrawl wants to merge 1 commit intoapache:masterfrom
sumitagrawl wants to merge 1 commit intoapache:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Making pipeline closure fast, it can make it to approx 2 min (4 HB)
HB 1 - trigger pipeline closure to SCM
HB 2 - close container will be triggered to DN
HB 3 - wait time to ensure container is closed
HB 4 - pipeline closure from DN
So as change, close container is sync call in same pipelineActionHandler, and trigger pipeline removal after 2HB time.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15151
How was this patch tested?
TODO