smengcl opened a new pull request, #6155: URL: https://github.com/apache/ozone/pull/6155
## What changes were proposed in this pull request? `DatanodeDetails` has `initialVersion` and `currentVersion` (`DatanodeVersion`, not to be confused with `HDDSLayoutFeature`) added since HDDS-4730 but they were never passed to the client. The core of this PR is just to add both fields to the proto message and make sure they are correctly serded and passed to the client. To be used by HDDS-9752 (#5663) or its follow-up patch in order to make sure new clients would still work with old datanodes over the wire. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9884 ## How was this patch tested? - [x] Integration test added to verify that datanode versions are correctly passed to the client. Modifications have been done to `HddsDatanodeService` and `MiniOzoneCluster` in order to facilitate that. -- 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]
