You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/11/10 01:12:29 UTC

[GitHub] [incubator-ratis] szetszwo commented on pull request #264: RATIS-1140. Add primary peer id to Raft proto and only create channels with peer for primary servers

szetszwo commented on pull request #264:
URL: https://github.com/apache/incubator-ratis/pull/264#issuecomment-724384251


   @amaliujia , after RATIS-1133, the stream header (DataStreamOutputImpl.header or StreamInfo.reqeust) in each the servers becomes the same.  The primary server can be determined by calling RaftClientRequest.getReplierId().  Therefore, we don't have to add the primary server id to each packet.
   


----------------------------------------------------------------
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:
users@infra.apache.org