hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Viswanadham (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1856) Merge HA and Non-HA code in OM
Date Fri, 26 Jul 2019 21:40:00 GMT

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

Bharat Viswanadham updated HDDS-1856:
-------------------------------------
    Description: 
In this Jira following things will be implemented:
 # Make the necessary changes for non-HA code path to use Cache and DoubleBuffer.

 ## When adding to double buffer, return future. This future will be used in non-HA path to
wait for this, and when it is completed return response to the client.
 ## Add to double-buffer will happen inside validateAndUpdateCache. In this way, in non-HA,
when multiple rpc handler threads are calling preExecute and validateAndUpdateCache, the order
inserted in to double buffer will happen in the order requests are received.

 

In this Jira, we shall not convert non-ha code path to use this, as security and acl work
is not completed to use this new model.

 

 

  was:
In this Jira following things will be implemented:
 # Make the non-HA code path use Cache and DoubleBuffer.
 # Use OMClientRequest/OMClientResponse classes implemented as part of HA to be used in Non-HA
code path.

 

Removing of old code will not be done in this Jira, this will be done in further Jiras.

 


> Merge HA and Non-HA code in OM
> ------------------------------
>
>                 Key: HDDS-1856
>                 URL: https://issues.apache.org/jira/browse/HDDS-1856
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> In this Jira following things will be implemented:
>  # Make the necessary changes for non-HA code path to use Cache and DoubleBuffer.
>  ## When adding to double buffer, return future. This future will be used in non-HA path
to wait for this, and when it is completed return response to the client.
>  ## Add to double-buffer will happen inside validateAndUpdateCache. In this way, in non-HA,
when multiple rpc handler threads are calling preExecute and validateAndUpdateCache, the order
inserted in to double buffer will happen in the order requests are received.
>  
> In this Jira, we shall not convert non-ha code path to use this, as security and acl
work is not completed to use this new model.
>  
>  



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


Mime
View raw message