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 "Supratim Deka (JIRA)" <ji...@apache.org> on 2019/07/15 09:47:00 UTC

[jira] [Created] (HDDS-1798) Propagate failure in writeStateMachineData to Ratis

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