adoroszlai opened a new pull request, #4748: URL: https://github.com/apache/ozone/pull/4748
## What changes were proposed in this pull request? > @k5342 found a `NullPointerException` while replicating V1 containers in Ozone 1.3.0. V1 containers do not have the `schemaVersion` field in the `.container` file The NPE is fixed by adding and using a comparison function that considers `null` and `V1` to be equal. https://issues.apache.org/jira/browse/HDDS-8636 ## How was this patch tested? Tested in real cluster: https://github.com/apache/ozone/pull/4723#issuecomment-1554645068 I'll try to add unit test and update this PR. -- 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]
