[ 
https://issues.apache.org/jira/browse/HDDS-12954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-12954:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> - 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]

Reply via email to