[
https://issues.apache.org/jira/browse/HDDS-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933383#comment-16933383
]
Lokesh Jain commented on HDDS-1868:
-----------------------------------
[~swagle] I think there is a case where it is not handled. There can be a
leader elected s1 and two followers s2 and s3. Pipeline Report from s2 and s3
can now arrive after the pipeline action and may not arrive at all. In both
these cases we would have opened the pipeline in SCM. I think we need to either
send only pipeline report or only pipeline action in this case from the
datanodes. Once we get this action or report from all the datanodes after a
leader has been elected and acknowledged by all the datanodes, SCM can open the
pipeline?
> Ozone pipelines should be marked as ready only after the leader election is
> complete
> ------------------------------------------------------------------------------------
>
> Key: HDDS-1868
> URL: https://issues.apache.org/jira/browse/HDDS-1868
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode, SCM
> Affects Versions: 0.4.0
> Reporter: Mukul Kumar Singh
> Assignee: Siddharth Wagle
> Priority: Major
> Fix For: 0.5.0
>
> Attachments: HDDS-1868.01.patch, HDDS-1868.02.patch,
> HDDS-1868.03.patch
>
>
> Ozone pipeline on restart start in allocated state, they are moved into open
> state after all the pipeline have reported to it. However this potentially
> can lead into an issue where the pipeline is still not ready to accept any
> incoming IO operations.
> The pipelines should be marked as ready only after the leader election is
> complete and leader is ready to accept incoming IO.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]