errose28 opened a new pull request #2101: URL: https://github.com/apache/ozone/pull/2101
## What changes were proposed in this pull request? After finalization of SCM, it will take at least a heartbeat for datanodes to finalize and update their layout versions. Only after this SCM will make pipelines. This feature will make SCM wait for at least one pipeline to be created before returning from finalization, so that writes can go through right after SCM is finalized. This change also fixes a race condition in `BackgroundPipelineCreator`, which was triggered if the fixed interval pipeline creator fired during finalization, when pipeline creation was paused. This would cause a lock to not be released, and no pipelines could be created on the cluster after finalization. The fix is necessary for the modified integration test to pass. ## What is the link to the Apache JIRA HDDS-4828 ## How was this patch tested? Existing integration test modified to check the new behavior. -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
