Sammi Chen created HDDS-5791:
--------------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]