[JBoss JIRA] (ISPN-7549) Cluster resize helper API
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-7549:
---------------------------------------
Summary: Cluster resize helper API
Key: ISPN-7549
URL: https://issues.jboss.org/browse/ISPN-7549
Project: Infinispan
Issue Type: Enhancement
Components: Cloud Integrations, Core
Reporter: Gustavo Fernandes
Given a topology we should be able to calculate a subset of nodes that can be safely removed from the cluster without incurring data loss; those nodes should not include both a primary owner and a replica.
This API can be used as an aid for cloud environments when doing scale down operation, and also for non-cloud environments in order to kill the right nodes.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ISPN-7548) SimpleCacheImpl streams iterate through the data container twice
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7548?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-7548:
------------------------------------
{{SimpleCacheImpl.clear()}} also uses {{DataContainer.size()}} when it should be using {{sizeIncludingExpired()}}.
> SimpleCacheImpl streams iterate through the data container twice
> ----------------------------------------------------------------
>
> Key: ISPN-7548
> URL: https://issues.jboss.org/browse/ISPN-7548
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.CR2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.0.0.Final
>
>
> {{SimpleCacheImpl.getStreamSupplier()}} uses {{DataContainer.size()}} to estimate the size of the stream, and that method iterates through the data container in order to exclude expired entries. It should use {{DataContainer.sizeIncludingExpired()}} instead, which doesn't iterate through the data container.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ISPN-7548) SimpleCacheImpl streams iterate through the data container twice
by Dan Berindei (JIRA)
Dan Berindei created ISPN-7548:
----------------------------------
Summary: SimpleCacheImpl streams iterate through the data container twice
Key: ISPN-7548
URL: https://issues.jboss.org/browse/ISPN-7548
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Final
{{SimpleCacheImpl.getStreamSupplier()}} uses {{DataContainer.size()}} to estimate the size of the stream, and that method iterates through the data container in order to exclude expired entries. It should use {{DataContainer.sizeIncludingExpired()}} instead, which doesn't iterate through the data container.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month