Supratim Deka created HDDS-1798:
-----------------------------------

             Summary: Propagate failure in writeStateMachineData to Ratis
                 Key: HDDS-1798
                 URL: https://issues.apache.org/jira/browse/HDDS-1798
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
          Components: Ozone Datanode
            Reporter: Supratim Deka
            Assignee: Supratim Deka


Currently, 

writeStateMachineData() returns a future to Ratis. This future does not track 
any errors or failures encountered as part of the operation - WriteChunk / 
handleWriteChunk(). The error is propagated back to the client in the form of 
an error code embedded inside writeChunkResponseProto. But the error goes 
undetected and unhandled in the Ratis server. The future handed back to Ratis 
is always completed with success.

The goal is to detect any errors in writeStateMachineData in Ratis and treat is 
as a failure

of the Ratis log. Handling for which is already implemented in HDDS-1603. 

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
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