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

   ## What changes were proposed in this pull request?
   
   - For checksum mismatched, throw OzoneChecksumException.
   - For unexpected checksum type or inconsistent proto, throw 
IllegalArgumentException.
   - For unexpected state, throw IllegalStateException.
   
   Also the verifyChecksum methods in Checksum/ChecksumData always return true 
(in case of failure, it throws an exception). We will change them to return 
void.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12954
   
   ## How was this patch tested?
   
   By existing tests and also new 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