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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to