You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/05 00:41:00 UTC

[jira] [Comment Edited] (HDDS-883) Chunk writes should validate the checksum before overwriting the existing chunk file

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

Arpit Agarwal edited comment on HDDS-883 at 6/5/20, 12:40 AM:
--------------------------------------------------------------

Moving to 0.7.0 since this has been open for a while and doesn't seem critical to fix immediately.


was (Author: arpitagarwal):
Moving to 0.7.0 since this has been open for a while.

> Chunk writes should validate the checksum before overwriting the existing chunk file
> ------------------------------------------------------------------------------------
>
>                 Key: HDDS-883
>                 URL: https://issues.apache.org/jira/browse/HDDS-883
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Datanode
>    Affects Versions: 0.4.0
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Major
>
> When writeChunk request arrives via Ratis, it may happen that the tmp chunk file already exist because of ratis retry on stateMachine timeout during writeStateMachineData phase. In such cases, we can just validate the length and checksum if present before blindly overwriting it and return. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org