errose28 commented on PR #3691:
URL: https://github.com/apache/ozone/pull/3691#issuecomment-1234811211

   > I think the placement in ScmServerDatanodeHeartbeatProtocol.proto is a 
historical problem. Originally it is only considered to be used in HB, not in 
client queries. Such common proto shall be unified and could help reduce 
confusion for the user and reader. So I wonder if someday we change the 
reference of this TXN proto from the ScmServerDatanodeHeartbeatProtocol.proto 
to the hdds.proto. And we could deprecate the old reference.
   
   I think this is a good point. If we put the new message in 
ScmAdminProtocol.proto we will have the two messages forever since we need to 
support all old clients. If we put the new message in hdds.proto then later we 
could switch datanode and SCM communication to use the new message in 
hdds.proto instead of the old one in ScmServerDatanodeHeartbeatProtocol.proto  
since we do not support rolling upgrades yet.


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