Russole opened a new pull request, #9695: URL: https://github.com/apache/ozone/pull/9695
## What changes were proposed in this pull request? * Add `REQUEST_TYPE_UNSPECIFIED = 0` to align with proto3 enum default value semantics. * Migrate `SCMRatisProtocol.proto` from proto2 to proto3 by replacing required fields with `optional`. * Reserve field numbers and names to prevent accidental reuse in future schema changes. * Add required-equivalent presence checks during deserialization, since proto3 no longer validates required fields when deserialization. * Add unit tests to verify deserialization fails when required fields are missing ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10481 ## How was this patch tested? * All CI checks passed. - https://github.com/Russole/ozone/actions/runs/21537543811 * All added unit tests pass. -- 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]
