Tsz-wo Sze created HDDS-12954:
---------------------------------
Summary: Do not throw IOException for checksum
Key: HDDS-12954
URL: https://issues.apache.org/jira/browse/HDDS-12954
Project: Apache Ozone
Issue Type: Sub-task
Components: common
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
- 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]