[
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
the 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 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.
> Make changes required for Non-HA to use new 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
> the 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: [email protected]
For additional commands, e-mail: [email protected]