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

Siddharth Wagle commented on HDDS-1868:
---------------------------------------

Hi [~ljain], in my unit test I am able to get the roleInfoProto for the 
follower. Here is my test debug log.

{code}
2019-09-06 15:19:23,989 [Thread-0] INFO  ratis.XceiverServerRatis 
(XceiverServerRatis.java:getPipelineReport(582)) - ----- GroupInfoReply => self 
{
  id: "d5bdb10c-214e-4cae-819a-d560a085adbf"
  address: "0.0.0.0:51226"
}
role: FOLLOWER
roleElapsedTimeMs: 128
followerInfo {
  leaderInfo {
    id {
      id: "a7a440c4-0b3b-45b2-9d5a-336a32af5742"
      address: "10.22.8.51:51227"
    }
    lastRpcElapsedTimeMs: 8
  }
  outstandingOp: 1
}
{code}

Working on finishing off the proper unit test for the change.

> 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
>
>
> 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.2#803003)

---------------------------------------------------------------------
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