[
https://issues.apache.org/jira/browse/HDDS-9456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-9456:
---------------------------------
Labels: pull-request-available (was: )
> Non-blocking container statemachine cache
> -----------------------------------------
>
> Key: HDDS-9456
> URL: https://issues.apache.org/jira/browse/HDDS-9456
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Sumit Agrawal
> Assignee: Sumit Agrawal
> Priority: Major
> Labels: pull-request-available
>
> It can make use of ratis resources to be acquired to control resource usages.
> And ozone cache can be non-blocking.
>
> {*}Cache{*}:
> * Eviction policy with FIFO
> * Queue length: 1024
> * Queue data size: 1GB (but considering actual data size as happening for
> ratis)
> * Removal when majority followers are in sync
>
> Ratis: 1024 request and space size 1GB, pending request will always get data
> from case. (follower in majority will always get from cache)
>
> *Block not found case(StorageContainerException) (RATIS-722):* When Cache
> Miss and disk write is not completed{*},{*} data is not found causing
> StorageContainerException. This case must not happen for pending requests, as
> cache will be available for pending requests and operation will be successful
> on successful write completion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]