adoroszlai opened a new pull request #1844: URL: https://github.com/apache/ozone/pull/1844
## What changes were proposed in this pull request? 1. Only include pre-existing "public" ports of datanode (ie. `STANDALONE`, `RATIS`, `REST`) in `DatanodeDetails` protobuf message by default. Old client cannot handle new enum constants. 2. Explicitly include new `REPLICATION` port in `ReplicateContainerCommand`. 3. Make client more future-proof by ignoring unknown `Port.Name` values. (This in itself is not enough as a fix, since old client does not have this logic.) https://issues.apache.org/jira/browse/HDDS-4731 ## How was this patch tested? Added acceptance test which verifies cross-compatibility of key write/read among 0.5.0, 1.0.0, 1.1.0 versions. Tested closed container replication using `ozone-topology` compose environment to check for regression. https://github.com/adoroszlai/hadoop-ozone/actions/runs/510263073 ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
