[ 
https://issues.apache.org/jira/browse/HDDS-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16770393#comment-16770393
 ] 

Yiqun Lin commented on HDDS-1120:
---------------------------------

The patch almost looks good to me, [~bharatviswa]. Would you mind adding an 
unit test for the case of JIRA description mentioned? Will like following 
behaviour:
With checksum persisted, then corrupt the data
* If enabled the checksum verification (by default way), the read operation 
will fail.
* If disabled, the read operation should be successful.

> Add a config to disable checksum verification during read even though 
> checksum data is present in the persisted data
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-1120
>                 URL: https://issues.apache.org/jira/browse/HDDS-1120
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>    Affects Versions: 0.4.0
>            Reporter: Shashikant Banerjee
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: 0.4.0
>
>         Attachments: HDDS-1120.00.patch
>
>
> Currently, if the checksum is computed during data write and persisted in the 
> disk, we will always end up verifying it while reading. This Jira aims to 
> selectively disable checksum verification during reads even though checksum 
> info is present in the data stored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to