ChenSammi commented on a change in pull request #1469: HDDS-2034. Async RATIS
pipeline creation and destroy through heartbea…
URL: https://github.com/apache/hadoop/pull/1469#discussion_r328037289
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/events/SCMEvents.java
##########
@@ -196,6 +198,14 @@
public static final TypedEvent<SafeModeStatus> SAFE_MODE_STATUS =
new TypedEvent<>(SafeModeStatus.class);
+ /**
+ * This event is triggered by CommandStatusReportHandler whenever a
+ * status for CreatePipeline SCMCommand is received.
+ */
+ public static final TypedEvent<CreatePipelineStatus>
+ CREATE_PIPELINE_STATUS =
+ new TypedEvent<>(CreatePipelineStatus.class, "Create_Pipeline_Status");
+
Review comment:
You are right. Close pipeline with timely a status confirm will make the
propose more clear.
Given this patch is already too big, I created HDDS-2176, Add new pipeline
state “CLOSING” and new CLOSE_PIPELINE_STATUS command, to track the task.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]