[JBoss JIRA] (ISPN-11514) CacheMgmtInterceptor getNumberOfEntries should include expired entries
by Pedro Zapata Fernandez (Jira)
[ https://issues.redhat.com/browse/ISPN-11514?page=com.atlassian.jira.plugi... ]
Pedro Zapata Fernandez updated ISPN-11514:
------------------------------------------
Fix Version/s: (was: 11.0.0.Final)
> CacheMgmtInterceptor getNumberOfEntries should include expired entries
> ----------------------------------------------------------------------
>
> Key: ISPN-11514
> URL: https://issues.redhat.com/browse/ISPN-11514
> Project: Infinispan
> Issue Type: Feature Request
> Components: API, Core
> Affects Versions: 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
>
> {{CacheMgmtInterceptor.getNumberOfEntries}} and {{CacheMgmtInterceptor.getNumberOfEntriesInMemory}} both require an iteration over the data container and/or stores in order to exclude expired entries.
> Since these are statistics, they don't have to be exact, so we can include expired entries until a read or the expiration reaper removes them from the cache. In fact, I would argue that it's more correct for {{CacheMgmtInterceptor.getNumberOfEntriesInMemory}} to include expired entries, because expired entries still use memory until they are removed.
> The most likely reason that the strategy for counting entries was changed with ISPN-7686 is that the {{AdvancedCache}} doesn't have a {{sizeIncludingExpired}} method. Since it's not possible to obtain the exact size of the cache with passivation enabled without iterating over the store to eliminate duplicates, I suggest instead to estimate {{CacheMgmtInterceptor.getNumberOfEntries}} as the number of entries in the data container + the number of entries in the store.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11493) Display if rebalancing is not activated for a cache in the cache list
by Pedro Zapata Fernandez (Jira)
[ https://issues.redhat.com/browse/ISPN-11493?page=com.atlassian.jira.plugi... ]
Pedro Zapata Fernandez updated ISPN-11493:
------------------------------------------
Fix Version/s: 11.0.0.Final
> Display if rebalancing is not activated for a cache in the cache list
> ---------------------------------------------------------------------
>
> Key: ISPN-11493
> URL: https://issues.redhat.com/browse/ISPN-11493
> Project: Infinispan
> Issue Type: Feature Request
> Components: Console
> Affects Versions: 10.1.5.Final
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
> Labels: console-ng
> Fix For: 11.0.0.Final
>
>
> If the cache has rebalancing disabled, display in the cache features that rebalancing IS Disabled.
> This is valid only when rebalancing is ON for the cluster. Every cache will have rebalancing disabled if the cluster has rebalancing disabled, so there is no point on displaying it in that case
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months