[
https://issues.apache.org/jira/browse/HDDS-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-5791.
------------------------------------
Resolution: Won't Do
> Use Guava Cache to replace current ResourceLimitCache for
> stateMachineDataCache
> -------------------------------------------------------------------------------
>
> Key: HDDS-5791
> URL: https://issues.apache.org/jira/browse/HDDS-5791
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Sammi Chen
> Assignee: Sammi Chen
> Priority: Major
> Labels: pull-request-available
>
> In the current ResourceLimitCache, write request data is removed from the
> stateMachineDataCache when the majority of the ratis peers have committed the
> request, which leaves the leader to fetch the write data from
> ContainerStateMachine if it hasn't assemble and send the corresponding
> appendEntities to the left follower.
> This task amis to improve the stateMachineDataCache hit rate by lazily remove
> element, that is, keep the element in the cache as long as possilbe.
> One drawback of using Gauva Cache is it cannot control the total cased data
> size, only data count is controlable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]