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 "Shashikant Banerjee (JIRA)" <ji...@apache.org> on 2018/11/29 17:48:00 UTC

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

Shashikant Banerjee created HDDS-883:
----------------------------------------

             Summary: 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
             Fix For: 0.4.0


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