[JBoss JIRA] (ISPN-11247) "create cache MyCache --template=org.infinispan.DIST_SYNC --volatile=false" is not working
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-11247?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-11247:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> "create cache MyCache --template=org.infinispan.DIST_SYNC --volatile=false" is not working
> ------------------------------------------------------------------------------------------
>
> Key: ISPN-11247
> URL: https://issues.redhat.com/browse/ISPN-11247
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 10.1.0.Final, 10.1.1.Final
> Reporter: Wolf-Dieter Fink
> Assignee: Tristan Tarrant
> Priority: Major
>
> If a cache is created with CLI the default (volatile=true) is working as expected and the cache is created clusterwide but not persistent as expected
> Adding a cache via CLI which should be persistent will return a "null" within the CLI shell.
> Adding with the Console will work as expected and add the cache persistent
> Output from console:
> [quote]
> [node1@cluster//containers/default]> cache ___
> ___protobuf_metadata ___script_cache
> [node1@cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=false
> null
> [node1@cluster//containers/default]> cache ___
> ___protobuf_metadata ___script_cache
> [node1@cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=true
> [node1@cluster//containers/default]> cache
> ___protobuf_metadata ___script_cache wolf1
> [quote]
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (ISPN-7744) ServerEventLoggerTest.testLocalServerEventLogging fails intermittently
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-7744?page=com.atlassian.jira.plugin... ]
Dan Berindei reopened ISPN-7744:
--------------------------------
Still getting a failure after the fix:
{noformat}
10:30:12.683 [ERROR] testCacheContentCanBePassivated(org.infinispan.server.unit.configuration.ServerEventLoggerTest) Time elapsed: 3.648 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.infinispan.server.unit.configuration.ServerEventLoggerTest.lambda$testCacheContentCanBePassivated$5(ServerEventLoggerTest.java:171)
{noformat}
> ServerEventLoggerTest.testLocalServerEventLogging fails intermittently
> ----------------------------------------------------------------------
>
> Key: ISPN-7744
> URL: https://issues.redhat.com/browse/ISPN-7744
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Final
> Reporter: Tristan Tarrant
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Alpha1
>
>
> I got org.infinispan.server.eventlogger.ServerEventLoggerTest.testLocalServerEventLogging fail on Windows with following stacktrace:
> {code}
> java.lang.AssertionError: expected:<2> but was:<1>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.server.eventlogger.ServerEventLoggerTest$1.call(ServerEventLoggerTest.java:60)
> at org.infinispan.test.TestingUtil.withCacheManager(TestingUtil.java:1296)
> at org.infinispan.server.eventlogger.ServerEventLoggerTest.testLocalServerEventLogging(ServerEventLoggerTest.java:43)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (ISPN-11280) ConcurrentModificationException in ConditionFuture
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11280?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11280:
--------------------------------
Status: Open (was: New)
> ConcurrentModificationException in ConditionFuture
> --------------------------------------------------
>
> Key: ISPN-11280
> URL: https://issues.redhat.com/browse/ISPN-11280
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.1.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Alpha1
>
>
> {noformat}
> java.util.ConcurrentModificationException
> at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.remove(IdentityHashMap.java:749)
> at java.base/java.util.IdentityHashMap$EntryIterator.remove(IdentityHashMap.java:850)
> at org.infinispan.util.concurrent.ConditionFuture.checkConditions(ConditionFuture.java:114)
> at org.infinispan.util.concurrent.ConditionFuture.lambda$updateAsync$1(ConditionFuture.java:98)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (ISPN-11280) ConcurrentModificationException in ConditionFuture
by Dan Berindei (Jira)
Dan Berindei created ISPN-11280:
-----------------------------------
Summary: ConcurrentModificationException in ConditionFuture
Key: ISPN-11280
URL: https://issues.redhat.com/browse/ISPN-11280
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Alpha1
{noformat}
ava.util.ConcurrentModificationException
at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.remove(IdentityHashMap.java:749)
at java.base/java.util.IdentityHashMap$EntryIterator.remove(IdentityHashMap.java:850)
at org.infinispan.util.concurrent.ConditionFuture.checkConditions(ConditionFuture.java:114)
at org.infinispan.util.concurrent.ConditionFuture.lambda$updateAsync$1(ConditionFuture.java:98)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (ISPN-11280) ConcurrentModificationException in ConditionFuture
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11280?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11280:
--------------------------------
Description:
{noformat}
java.util.ConcurrentModificationException
at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.remove(IdentityHashMap.java:749)
at java.base/java.util.IdentityHashMap$EntryIterator.remove(IdentityHashMap.java:850)
at org.infinispan.util.concurrent.ConditionFuture.checkConditions(ConditionFuture.java:114)
at org.infinispan.util.concurrent.ConditionFuture.lambda$updateAsync$1(ConditionFuture.java:98)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
was:
{noformat}
ava.util.ConcurrentModificationException
at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.remove(IdentityHashMap.java:749)
at java.base/java.util.IdentityHashMap$EntryIterator.remove(IdentityHashMap.java:850)
at org.infinispan.util.concurrent.ConditionFuture.checkConditions(ConditionFuture.java:114)
at org.infinispan.util.concurrent.ConditionFuture.lambda$updateAsync$1(ConditionFuture.java:98)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
> ConcurrentModificationException in ConditionFuture
> --------------------------------------------------
>
> Key: ISPN-11280
> URL: https://issues.redhat.com/browse/ISPN-11280
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.1.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Alpha1
>
>
> {noformat}
> java.util.ConcurrentModificationException
> at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.remove(IdentityHashMap.java:749)
> at java.base/java.util.IdentityHashMap$EntryIterator.remove(IdentityHashMap.java:850)
> at org.infinispan.util.concurrent.ConditionFuture.checkConditions(ConditionFuture.java:114)
> at org.infinispan.util.concurrent.ConditionFuture.lambda$updateAsync$1(ConditionFuture.java:98)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (ISPN-11279) Replace UUID.randomUUID() with Util.threadLocalRandomUUID()
by Dan Berindei (Jira)
Dan Berindei created ISPN-11279:
-----------------------------------
Summary: Replace UUID.randomUUID() with Util.threadLocalRandomUUID()
Key: ISPN-11279
URL: https://issues.redhat.com/browse/ISPN-11279
Project: Infinispan
Issue Type: Task
Components: Core
Affects Versions: 10.1.1.Final
Reporter: Dan Berindei
Fix For: 11.0.0.Final
{{UUID.randomUUID()}} is pretty expensive, because it uses {{SecureRandom}}.
We don't need cryptographically strong UUIDs, so we can generate all our UUIDs with {{Util.threadLocalRandomUUID()}} instead.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months