anuengineer 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_r327794704
##########
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:
we don't need a destroyPipeline since it is not used any where ?
----------------------------------------------------------------
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]