You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Anu Engineer (JIRA)" <ji...@apache.org> on 2019/02/28 22:44:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Anu Engineer updated HDDS-883:
------------------------------
    Target Version/s: 0.5.0  (was: 0.4.0)

> 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
(v7.6.3#76005)

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