Russole commented on PR #9843: URL: https://github.com/apache/ozone/pull/9843#issuecomment-3977073792
Hi @szetszwo.I’ve updated the patch to fix the enum deserialization logic in ScmEnumCodec. Previously we decoded using the enum ordinal (values[n]), but we serialize protobuf enums with getNumber(), so this could map to the wrong value. The new implementation restores the correct semantics by looking up enum constants by protobuf number (via a prebuilt number -> enum map), and keeps the same wire format. Could you please take another look when you have time? Thanks! -- 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]
