[ 
https://issues.apache.org/jira/browse/HDDS-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharat Viswanadham updated HDDS-1400:
-------------------------------------
    Description: 
In this jira, we shall convert all OM related operations to OM HA model, which 
is a 2 step.
 # StartTransaction, where we validate request and check for any errors and 
return the response.
 # ApplyTransaction, where original OM request will have a response which needs 
to be applied to OM DB. This step is just to apply response to Om DB.

In this way, all requests which are failed with like volume not found or some 
conditions which  are not satisfied like when Key not found during rename, 
these all will be executed during startTransaction, and if it fails these 
requests will not be written to raft log also.

  was:
In this jira, we shall convert all OM related operations to OM HA model, which 
is a 2 step.
 # StartTransaction, where we validate request and check for any errors and 
return the response.
 # ApplyTransaction, where original OM request will have a response which needs 
to be applied to OM DB. This step is just to apply response to Om DB.

In this way, all requests which are failed with like volume not found or some 
conditions which i have not satisfied like when deleting volume should be 
empty, these all will be executed during startTransaction, and if it fails 
these requests will not be written to raft log also.


> Convert all OM Key related operations to HA model
> -------------------------------------------------
>
>                 Key: HDDS-1400
>                 URL: https://issues.apache.org/jira/browse/HDDS-1400
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.5.0
>
>
> In this jira, we shall convert all OM related operations to OM HA model, 
> which is a 2 step.
>  # StartTransaction, where we validate request and check for any errors and 
> return the response.
>  # ApplyTransaction, where original OM request will have a response which 
> needs to be applied to OM DB. This step is just to apply response to Om DB.
> In this way, all requests which are failed with like volume not found or some 
> conditions which  are not satisfied like when Key not found during rename, 
> these all will be executed during startTransaction, and if it fails these 
> requests will not be written to raft log also.



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