[ 
https://issues.apache.org/jira/browse/HDDS-2034?focusedWorklogId=318206&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-318206
 ]

ASF GitHub Bot logged work on HDDS-2034:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Sep/19 10:05
            Start Date: 25/Sep/19 10:05
    Worklog Time Spent: 10m 
      Work Description: ChenSammi commented on 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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 318206)
    Time Spent: 6h 10m  (was: 6h)

> Async RATIS pipeline creation and destroy through heartbeat commands
> --------------------------------------------------------------------
>
>                 Key: HDDS-2034
>                 URL: https://issues.apache.org/jira/browse/HDDS-2034
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> Currently, pipeline creation and destroy are synchronous operations. SCM 
> directly connect to each datanode of the pipeline through gRPC channel to 
> create the pipeline to destroy the pipeline.  
> This task is to remove the gRPC channel, send pipeline creation and destroy 
> action through heartbeat command to each datanode.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to