[
https://issues.apache.org/jira/browse/HDDS-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Supratim Deka updated HDDS-1798:
--------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]