szetszwo opened a new pull request, #8666:
URL: https://github.com/apache/ozone/pull/8666

   ## What changes were proposed in this pull request?
   
   Before [HDDS-13235](https://issues.apache.org/jira/browse/HDDS-13235), 
KayValue.getValue() deserializes the byte data when it is invoked.  
TestSchemaOneBackwardsCompatibility expects it will throw an exception since 
Schema One does not store the values.
   
   [HDDS-13235](https://issues.apache.org/jira/browse/HDDS-13235) has changed 
it to deserialize the byte data before creating an KayValue object.  As a 
result, it will fail earlier.  
   
   In the pull request, we change the codec to return null instead of throwing 
an exception for maintaining backward compatibility.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-13301](https://issues.apache.org/jira/browse/HDDS-13301)
   
   ## How was this patch tested?
   
   By existing tests


-- 
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]

Reply via email to