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 "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/17 15:56:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDDS-1798?focusedWorklogId=278280&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-278280 ]

ASF GitHub Bot logged work on HDDS-1798:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jul/19 15:55
            Start Date: 17/Jul/19 15:55
    Worklog Time Spent: 10m 
      Work Description: supratimdeka commented on pull request #1113: HDDS-1798. Propagate failure in writeStateMachineData to Ratis. Contributed by Supratim Deka
URL: https://github.com/apache/hadoop/pull/1113
 
 
   https://issues.apache.org/jira/browse/HDDS-1798
   
   unit test is pending. Will add the infra required for testing this change as part of https://issues.apache.org/jira/browse/HDDS-1818
   
   writeStateMachineData() currently returns a future to Ratis. The scope of this jira is to signal any errors or failures encountered as part of the operation - WriteChunk / handleWriteChunk() to Ratis via this future. As of now, the future does not track failures.
   
   This change is required to complete the failure handling done in HDDS-1603.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 278280)
            Time Spent: 10m
    Remaining Estimate: 0h

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