[ 
https://issues.apache.org/jira/browse/HDDS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16565035#comment-16565035
 ] 

Mukul Kumar Singh commented on HDDS-309:
----------------------------------------

Thanks for looking into this issue [~candychencan].

A pipeline in ozone will follow the state transitions as defined in 
PipelineSelector#updatePipelineState. A pipeline first moved to closing state 
and then moved to closed state. Before moving the pipeline to closing state, 
the pipeline will be removed from active pipeline using 
PipelineSelector#finalizePipeline.


> closePipelineIfNoOpenContainers should remove pipeline from activePipelines 
> list.
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-309
>                 URL: https://issues.apache.org/jira/browse/HDDS-309
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: chencan
>            Priority: Minor
>
>     Function closePipeline remove pipeline from pipelineMap and 
> node2PipelineMap.If closePipeline is called by 
> closePipelineIfNoOpenContainers,Are we supposed to remove pipeline from 
> activePipelines?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to