adoroszlai commented on pull request #3173:
URL: https://github.com/apache/ozone/pull/3173#issuecomment-1062658579


   > In DatanodeDetails, we have. a method called getProtobufMessage, which 
uses the same toProto(int) call with the ClientVersion.CURRENT_VERSION value 
(so with the by the datanode known highest client version, instead of the 
actual client version). This getProtobufMessage method is used in the 
getExtendedProtobufMessage() method, in heartbeat (which is not a problem atm 
as we do not have rolling upgrade), CreatePipelineCommand, 
ReplicateContainerCommand, and in the getContainerReplicas call in the 
SCMClientProtocolServer. We need to validate if these are also called from the 
client side, and if so, then we need to change the behavior for those as well.
   
   Filed HDDS-6429 for `getContainerReplicas`.  I haven't found any other place 
where incoming client version is ignored.  Heartbeat and `*Command` for for 
SCM-datanode communication.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to