nandakumar131 opened a new pull request, #5604: URL: https://github.com/apache/ozone/pull/5604
## What changes were proposed in this pull request? Whenever we close a pipeline, we have an option to give some grace time for the container to get closed, the grace time is configured using `ozone.scm.pipeline.destroy.timeout`. We wait for the timeout to happen before we go ahead and delete the pipeline. This will give enough time for the datanodes to close the container gracefully. It will prevent the containers from moving to the `QUASI_CLOSED` state. This functionality is broken and we don't wait for the timeout to happen before we delete the Pipeline. This creates a lot of `QUASI_CLOSED` containers in the cluster when a node goes stale or when a datanode is getting decommissioned. This has to be fixed and we should wait for the configured amount of time before we delete the Pipeline, this will give datanodes enough time to `CLOSE` the containers on that pipeline. ## What is the link to the Apache JIRA HDDS-9479 ## How was this patch tested? Unit test modified to test the behaviour. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
