prashantpogde commented on a change in pull request #1611:
URL: https://github.com/apache/ozone/pull/1611#discussion_r530109093
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/SCMPipelineManager.java
##########
@@ -268,6 +275,12 @@ public Pipeline createPipeline(ReplicationType type,
}
lock.writeLock().lock();
try {
+ if (freezePipelineCreation.get()) {
+ LOG.debug("Pipeline creation is frozen while an upgrade is in " +
Review comment:
OZONE_SCM_PIPELINE_CREATION_INTERVAL_DEFAULT is 2 minutes. I thought
that upgrade finalization should be few minutes. Its possible that we may have
few messages in the log to indicate that pipeline creation is frozen due to
upgrade. But I can add a "pause" for pipeline creator as suggested.
----------------------------------------------------------------
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]