[JBoss JIRA] (ISPN-8548) Clear post notifications can cause memory issues as it holds all entries locally
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8548?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8548:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5596
> Clear post notifications can cause memory issues as it holds all entries locally
> --------------------------------------------------------------------------------
>
> Key: ISPN-8548
> URL: https://issues.jboss.org/browse/ISPN-8548
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.0.Beta1, 9.1.3.Final
> Reporter: William Burns
> Assignee: William Burns
>
> Currently clear iterates over the container and stores all entries before finally invoking clear. This can cause memory issues especially for off heap as we don't want to have all of these entries in the JVM heap at the same time.
> Something like
> {code}
> Iterator<InternalCacheEntry<Object, Object>> iterator =
> dataContainer.iterator();
> while (iterator.hasNext()) {
> InternalCacheEntry entry = iterator.next();
> iterator.remove();
> notifier.notifyCacheEntryRemoved(entry.getKey(), entry.getValue(),
> entry.getMetadata(), false, context, command);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8547) LocalModeTxTest failures
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8547?page=com.atlassian.jira.plugin.... ]
William Burns reassigned ISPN-8547:
-----------------------------------
Assignee: William Burns
> LocalModeTxTest failures
> ------------------------
>
> Key: ISPN-8547
> URL: https://issues.jboss.org/browse/ISPN-8547
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Assignee: William Burns
> Labels: testsuite-stability
>
> It looks like a cascade failure, the following tests end up with error:
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> [ERROR] testKeySet2[storage=OFF_HEAP](org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.04 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.041 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> This is likely the root cause:
> {noformat}
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> java.lang.IllegalStateException: Two tests with the same name running in parallel: org.infinispan.tx.LocalModeTxTest[storage=OFF_HEAP]
> {noformat}
> {noformat}
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> org.infinispan.IllegalLifecycleStateException: Cache container has been stopped and cannot be reused. Recreate the cache container.
> at org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:944)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:458)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:454)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:487)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:478)
> at org.infinispan.test.TestingUtil.lambda$getRunningCaches$4(TestingUtil.java:836)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8547) LocalModeTxTest failures
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8547?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8547:
--------------------------------
Status: Open (was: New)
> LocalModeTxTest failures
> ------------------------
>
> Key: ISPN-8547
> URL: https://issues.jboss.org/browse/ISPN-8547
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Labels: testsuite-stability
>
> It looks like a cascade failure, the following tests end up with error:
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> [ERROR] testKeySet2[storage=OFF_HEAP](org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.04 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.041 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> This is likely the root cause:
> {noformat}
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> java.lang.IllegalStateException: Two tests with the same name running in parallel: org.infinispan.tx.LocalModeTxTest[storage=OFF_HEAP]
> {noformat}
> {noformat}
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> org.infinispan.IllegalLifecycleStateException: Cache container has been stopped and cannot be reused. Recreate the cache container.
> at org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:944)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:458)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:454)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:487)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:478)
> at org.infinispan.test.TestingUtil.lambda$getRunningCaches$4(TestingUtil.java:836)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8547) LocalModeTxTest failures
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8547?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8547:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5595
> LocalModeTxTest failures
> ------------------------
>
> Key: ISPN-8547
> URL: https://issues.jboss.org/browse/ISPN-8547
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Labels: testsuite-stability
>
> It looks like a cascade failure, the following tests end up with error:
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> [ERROR] testKeySet2[storage=OFF_HEAP](org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.04 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.041 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> [ERROR] testClassFinished(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.002 s <<< FAILURE!
> This is likely the root cause:
> {noformat}
> [ERROR] testClassStarted(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.11 s <<< FAILURE!
> java.lang.IllegalStateException: Two tests with the same name running in parallel: org.infinispan.tx.LocalModeTxTest[storage=OFF_HEAP]
> {noformat}
> {noformat}
> [ERROR] clearContent(org.infinispan.tx.LocalModeTxTest) Time elapsed: 0.001 s <<< FAILURE!
> org.infinispan.IllegalLifecycleStateException: Cache container has been stopped and cannot be reused. Recreate the cache container.
> at org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:944)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:458)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:454)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:487)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:478)
> at org.infinispan.test.TestingUtil.lambda$getRunningCaches$4(TestingUtil.java:836)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8469) Adjust icon and description
by John Brier (JIRA)
[ https://issues.jboss.org/browse/ISPN-8469?page=com.atlassian.jira.plugin.... ]
John Brier commented on ISPN-8469:
----------------------------------
I see your point. The original draft descriptions used "persistence" and "without persistence" to distinguish each other:
"In this image, JBoss Data Grid is configured as a shared memory service with persistence. That means any data stored by the service will be preserved across restarts.
""In this service, JBoss Data Grid is configured as an in-memory caching service without persistence. Data in the cache will be lost if the service is stopped or restarted, and therefore, it should not be used as a permanent store for data."
I think it meant persistence *across the cluster/service*, which does make sense. But maybe that is a non-traditional usage of the term we shouldn't use.
I replaced persistence with fault-tolerance in the draft below.
{quote}JBoss Data Grid is a high performance, linearly scalable, key/value data grid solution. It provides many features to serve a variety of use cases.
In this image, JBoss Data Grid is configured as a shared memory service with fault-tolerance. That means any data stored by the service will be preserved across restarts. fault-tolerance is achieved by replicating data across multiple nodes.
The data is copied to a specific number of nodes in the cluster using the "owners" setting. This ensures that, in the case of failure, the grid will not lose data as long as the number of failed nodes is less than the number of copies (owners). This also works when nodes are shutdown or restarted manually{quote}
We can shorten it later if needed.
> Adjust icon and description
> ---------------------------
>
> Key: ISPN-8469
> URL: https://issues.jboss.org/browse/ISPN-8469
> Project: Infinispan
> Issue Type: Enhancement
> Components: Cloud Integrations
> Reporter: Pedro Zapata
> Assignee: Sebastian Łaskawiec
>
> Set the right icon (for JDG) and service description.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month