[JBoss JIRA] (ISPN-9271) Clustered max idle doesn't remove expired entries on get with transactions
by William Burns (JIRA)
William Burns created ISPN-9271:
-----------------------------------
Summary: Clustered max idle doesn't remove expired entries on get with transactions
Key: ISPN-9271
URL: https://issues.jboss.org/browse/ISPN-9271
Project: Infinispan
Issue Type: Enhancement
Components: Expiration, Transactions
Reporter: William Burns
Currently clustered max idle does not remove any expired entry on a get when transactions are configured. This is due to limitations with pessimistic transactions and deadlocking.
We should be able to remove the entry with optimistic transactions.
Pessimistic is more interesting as we can't wait for the remove expired command to complete in a separate transaction as it would inherently deadlock. Instead we could ascertain that the entry is expired as we do now, but also fire a remove expired completely asynchronously and not wait for it to complete.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9270) ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-9270:
----------------------------------
Summary: ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
Key: ISPN-9270
URL: https://issues.jboss.org/browse/ISPN-9270
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.3.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.3.0.Final
The test stops the coordinator A of a 2-node cluster \[A, B\], and then verifies that B stays available.
Unfortunately that doesn't always happen: A tries to install topology \[B\] before shutting down, but B might receive it too late and reject it. If B expects members \[A, B\] and sees only B, the cache will enter degraded mode:
{noformat}
19:04:05,863 INFO (jgroups-8,Test-NodeB-21374:[org.infinispan.LOCKS]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100008: Updating cache members list [Test-NodeD-51051], topology id 7
19:04:05,863 TRACE (jgroups-4,Test-NodeD-51051:[]) [JGroupsTransport] Test-NodeD-51051 received command from Test-NodeB-21374: CacheTopologyControlCommand{cache=org.infinispan.LOCKS, type=CH_UPDATE, sender=Test-NodeB-21374, joinInfo=null, topologyId=7, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (1)[Test-NodeD-51051: 256]}, pendingCH=null, availabilityMode=AVAILABLE, phase=NO_REBALANCE, actualMembers=[Test-NodeD-51051], throwable=null, viewId=1}
19:04:05,880 INFO (jgroups-4,Test-NodeD-51051:[]) [CLUSTER] ISPN000094: Received new cluster view for channel ISPN: [Test-NodeD-51051|2] (1) [Test-NodeD-51051]
19:04:05,884 DEBUG (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [ClusterCacheStatus] Recovered 1 partition(s) for cache org.infinispan.LOCKS: [CacheTopology{id=6, phase=NO_REBALANCE, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeB-21374: 124, Test-NodeD-51051: 132]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeD-51051], persistentUUIDs=[6ac3a341-5af4-4aa2-ae7b-a4183d02d959]}]
19:04:05,884 WARN (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN000320: After merge (or coordinator change), cache still hasn't recovered a majority of members and must stay in degraded mode. Current members are [Test-NodeD-51051], lost members are [Test-NodeB-21374], stable members are [Test-NodeB-21374, Test-NodeD-51051]
19:04:05,885 INFO (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100011: Entering availability mode DEGRADED_MODE, topology id 8
19:04:05,941 DEBUG (transport-thread-Test-NodeD-p100-t2:[Topology-org.infinispan.LOCKS]) [LocalTopologyManagerImpl] Ignoring topology 7 for cache org.infinispan.LOCKS from old coordinator Test-NodeB-21374
19:04:06,024 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking
java.lang.Error: java.util.concurrent.ExecutionException: java.lang.Error: java.util.concurrent.ExecutionException: org.infinispan.lock.exception.ClusteredLockException: org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key 'ClusteredLockKey{name=Test}' is not available. Not all owners are in this partition
at org.infinispan.functional.FunctionalTestUtils.await(FunctionalTestUtils.java:47) ~[infinispan-core-9.3.0-SNAPSHOT-tests.jar:9.3.0-SNAPSHOT]
at org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking(ClusteredLockWith2NodesTest.java:49) ~[test-classes/:?]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9270) ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9270?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9270:
-------------------------------
Status: Open (was: New)
> ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
> ---------------------------------------------------------------------
>
> Key: ISPN-9270
> URL: https://issues.jboss.org/browse/ISPN-9270
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.3.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.3.0.Final
>
>
> The test stops the coordinator A of a 2-node cluster \[A, B\], and then verifies that B stays available.
> Unfortunately that doesn't always happen: A tries to install topology \[B\] before shutting down, but B might receive it too late and reject it. If B expects members \[A, B\] and sees only B, the cache will enter degraded mode:
> {noformat}
> 19:04:05,863 INFO (jgroups-8,Test-NodeB-21374:[org.infinispan.LOCKS]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100008: Updating cache members list [Test-NodeD-51051], topology id 7
> 19:04:05,863 TRACE (jgroups-4,Test-NodeD-51051:[]) [JGroupsTransport] Test-NodeD-51051 received command from Test-NodeB-21374: CacheTopologyControlCommand{cache=org.infinispan.LOCKS, type=CH_UPDATE, sender=Test-NodeB-21374, joinInfo=null, topologyId=7, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (1)[Test-NodeD-51051: 256]}, pendingCH=null, availabilityMode=AVAILABLE, phase=NO_REBALANCE, actualMembers=[Test-NodeD-51051], throwable=null, viewId=1}
> 19:04:05,880 INFO (jgroups-4,Test-NodeD-51051:[]) [CLUSTER] ISPN000094: Received new cluster view for channel ISPN: [Test-NodeD-51051|2] (1) [Test-NodeD-51051]
> 19:04:05,884 DEBUG (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [ClusterCacheStatus] Recovered 1 partition(s) for cache org.infinispan.LOCKS: [CacheTopology{id=6, phase=NO_REBALANCE, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeB-21374: 124, Test-NodeD-51051: 132]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeD-51051], persistentUUIDs=[6ac3a341-5af4-4aa2-ae7b-a4183d02d959]}]
> 19:04:05,884 WARN (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN000320: After merge (or coordinator change), cache still hasn't recovered a majority of members and must stay in degraded mode. Current members are [Test-NodeD-51051], lost members are [Test-NodeB-21374], stable members are [Test-NodeB-21374, Test-NodeD-51051]
> 19:04:05,885 INFO (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100011: Entering availability mode DEGRADED_MODE, topology id 8
> 19:04:05,941 DEBUG (transport-thread-Test-NodeD-p100-t2:[Topology-org.infinispan.LOCKS]) [LocalTopologyManagerImpl] Ignoring topology 7 for cache org.infinispan.LOCKS from old coordinator Test-NodeB-21374
> 19:04:06,024 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking
> java.lang.Error: java.util.concurrent.ExecutionException: java.lang.Error: java.util.concurrent.ExecutionException: org.infinispan.lock.exception.ClusteredLockException: org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key 'ClusteredLockKey{name=Test}' is not available. Not all owners are in this partition
> at org.infinispan.functional.FunctionalTestUtils.await(FunctionalTestUtils.java:47) ~[infinispan-core-9.3.0-SNAPSHOT-tests.jar:9.3.0-SNAPSHOT]
> at org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking(ClusteredLockWith2NodesTest.java:49) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9269) Server stop doesn't respect cache dependencies
by Wolf-Dieter Fink (JIRA)
Wolf-Dieter Fink created ISPN-9269:
--------------------------------------
Summary: Server stop doesn't respect cache dependencies
Key: ISPN-9269
URL: https://issues.jboss.org/browse/ISPN-9269
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Wolf-Dieter Fink
Individual caches are exposed as WildFly services, and the server stops them without considering cache dependencies defined in {{DefaultCacheManager}}. This means the infinispan-lucene-directory caches can stop before the indexed caches that use them:
{noformat}
2016-03-09 18:10:41,724 WARN [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000004: Failure during stop of service jboss.datagrid-infinispan.clustered.repltestcache: org.infinispan.IllegalLifecycleStateException: ISPN000323: Cache 'LuceneIndexesMetadata' is in 'TERMINATED' state and so it does not accept new invocations. Either restart it or recreate the cache container.
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:97)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:79)
at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85)
at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)
at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:85)
at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335)
at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:411)
at org.infinispan.cache.impl.DecoratedCache.get(DecoratedCache.java:443)
at org.infinispan.lucene.impl.FileListOperations.getFileList(FileListOperations.java:162)
at org.infinispan.lucene.impl.FileListOperations.listFilenames(FileListOperations.java:105)
at org.infinispan.lucene.impl.DirectoryImplementor.list(DirectoryImplementor.java:60)
at org.infinispan.lucene.impl.DirectoryLucene.listAll(DirectoryLucene.java:128)
at org.apache.lucene.store.FilterDirectory.listAll(FilterDirectory.java:57)
at org.apache.lucene.index.IndexFileDeleter.refresh(IndexFileDeleter.java:426)
at org.apache.lucene.index.IndexWriter.rollbackInternalNoCommit(IndexWriter.java:2099)
at org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2041)
at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:1083)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1125)
at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.closeIndexWriter(IndexWriterHolder.java:169)
at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.closeIndexWriter(AbstractWorkspaceImpl.java:108)
at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.shutDownNow(AbstractWorkspaceImpl.java:103)
at org.hibernate.search.backend.impl.lucene.LuceneBackendResources.shutdown(LuceneBackendResources.java:115)
at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueProcessor.close(LuceneBackendQueueProcessor.java:70)
at org.infinispan.query.indexmanager.LocalIndexingBackend.flushAndClose(LocalIndexingBackend.java:48)
at org.infinispan.query.indexmanager.ClusteredSwitchingBackend.closeBackend(ClusteredSwitchingBackend.java:227)
at org.infinispan.query.indexmanager.ClusteredSwitchingBackend.shutdown(ClusteredSwitchingBackend.java:216)
at org.infinispan.query.indexmanager.InfinispanBackendQueueProcessor.close(InfinispanBackendQueueProcessor.java:79)
at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.destroy(DirectoryBasedIndexManager.java:78)
at org.hibernate.search.indexes.impl.IndexManagerHolder.stop(IndexManagerHolder.java:197)
at org.hibernate.search.engine.impl.ImmutableSearchFactory.close(ImmutableSearchFactory.java:230)
at org.hibernate.search.engine.impl.MutableSearchFactory.close(MutableSearchFactory.java:137)
at org.infinispan.query.impl.LifecycleManager.cacheStopping(LifecycleManager.java:338)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:257)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:869)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:864)
at org.infinispan.server.infinispan.SecurityActions$6.run(SecurityActions.java:142)
at org.infinispan.server.infinispan.SecurityActions$6.run(SecurityActions.java:139)
at org.infinispan.security.Security.doPrivileged(Security.java:76)
at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:63)
at org.infinispan.server.infinispan.SecurityActions.stopCache(SecurityActions.java:146)
at org.jboss.as.clustering.infinispan.subsystem.CacheService.stop(CacheService.java:103)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9268) WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange Failure
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-9268:
----------------------------------
Summary: WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange Failure
Key: ISPN-9268
URL: https://issues.jboss.org/browse/ISPN-9268
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.3.0.CR1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 9.3.0.Final
{code:java}
java.lang.AssertionError:
at org.infinispan.persistence.WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange(WriteBehindFaultToleranceTest.java:84)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 21 stack frames
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9268) WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange Failure
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-9268?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-9268:
-------------------------------
Description:
{code:java}
java.lang.AssertionError:
at org.infinispan.persistence.WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange(WriteBehindFaultToleranceTest.java:84)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 21 stack frames
{code}
was:
{code:java}
java.lang.AssertionError:
at org.infinispan.persistence.WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange(WriteBehindFaultToleranceTest.java:84)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 21 stack frames
{code}
Sprint: Sprint 9.3.0.Final
> WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange Failure
> ---------------------------------------------------------------------------
>
> Key: ISPN-9268
> URL: https://issues.jboss.org/browse/ISPN-9268
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.3.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Fix For: 9.3.0.Final
>
>
> {code:java}
> java.lang.AssertionError:
> at org.infinispan.persistence.WriteBehindFaultToleranceTest.testBlockingOnStoreAvailabilityChange(WriteBehindFaultToleranceTest.java:84)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> ... Removed 21 stack frames
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9267) RemoteMultimapCacheAPITest fails with trace logging enabled
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9267?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9267:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> RemoteMultimapCacheAPITest fails with trace logging enabled
> -----------------------------------------------------------
>
> Key: ISPN-9267
> URL: https://issues.jboss.org/browse/ISPN-9267
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.3.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.3.0.Final
>
>
> {{Codec20.writeHeader()}} logs the name of the operation using {{HotRodConstants.Names.of(op)}}, which in turn uses an array populated with the request/response constants in {{HotRodConstants}}. The multimap request/response ops are defined in {{MultimapHotRodConstants}}, so they're missing from the array:
> {noformat}
> [ERROR] testContainsEntry(org.infinispan.client.hotrod.RemoteMultimapCacheAPITest) Time elapsed: 0.016 s <<< FAILURE!
> java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 107
> at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
> at org.infinispan.client.hotrod.RemoteMultimapCacheAPITest.testContainsEntry(RemoteMultimapCacheAPITest.java:128)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
> at org.infinispan.client.hotrod.impl.protocol.HotRodConstants$Names.of(HotRodConstants.java:241)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.writeHeader(Codec20.java:129)
> at org.infinispan.client.hotrod.impl.protocol.Codec28.writeHeader(Codec28.java:19)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendKeyValueOperation(AbstractKeyValueOperation.java:53)
> at org.infinispan.client.hotrod.impl.multimap.operations.PutKeyValueMultimapOperation.executeOperation(PutKeyValueMultimapOperation.java:43)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:75)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:258)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:296)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyOperation.fetchChannelAndInvoke(AbstractKeyOperation.java:39)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:60)
> at org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl.put(RemoteMultimapCacheImpl.java:78)
> ... 24 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9267) RemoteMultimapCacheAPITest fails with trace logging enabled
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9267?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9267:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6042
> RemoteMultimapCacheAPITest fails with trace logging enabled
> -----------------------------------------------------------
>
> Key: ISPN-9267
> URL: https://issues.jboss.org/browse/ISPN-9267
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.3.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.3.0.Final
>
>
> {{Codec20.writeHeader()}} logs the name of the operation using {{HotRodConstants.Names.of(op)}}, which in turn uses an array populated with the request/response constants in {{HotRodConstants}}. The multimap request/response ops are defined in {{MultimapHotRodConstants}}, so they're missing from the array:
> {noformat}
> [ERROR] testContainsEntry(org.infinispan.client.hotrod.RemoteMultimapCacheAPITest) Time elapsed: 0.016 s <<< FAILURE!
> java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 107
> at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
> at org.infinispan.client.hotrod.RemoteMultimapCacheAPITest.testContainsEntry(RemoteMultimapCacheAPITest.java:128)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
> at org.infinispan.client.hotrod.impl.protocol.HotRodConstants$Names.of(HotRodConstants.java:241)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.writeHeader(Codec20.java:129)
> at org.infinispan.client.hotrod.impl.protocol.Codec28.writeHeader(Codec28.java:19)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendKeyValueOperation(AbstractKeyValueOperation.java:53)
> at org.infinispan.client.hotrod.impl.multimap.operations.PutKeyValueMultimapOperation.executeOperation(PutKeyValueMultimapOperation.java:43)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:75)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:258)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:296)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyOperation.fetchChannelAndInvoke(AbstractKeyOperation.java:39)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:60)
> at org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl.put(RemoteMultimapCacheImpl.java:78)
> ... 24 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9267) RemoteMultimapCacheAPITest fails with trace logging enabled
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9267?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9267:
-------------------------------
Status: Open (was: New)
> RemoteMultimapCacheAPITest fails with trace logging enabled
> -----------------------------------------------------------
>
> Key: ISPN-9267
> URL: https://issues.jboss.org/browse/ISPN-9267
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.3.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.3.0.Final
>
>
> {{Codec20.writeHeader()}} logs the name of the operation using {{HotRodConstants.Names.of(op)}}, which in turn uses an array populated with the request/response constants in {{HotRodConstants}}. The multimap request/response ops are defined in {{MultimapHotRodConstants}}, so they're missing from the array:
> {noformat}
> [ERROR] testContainsEntry(org.infinispan.client.hotrod.RemoteMultimapCacheAPITest) Time elapsed: 0.016 s <<< FAILURE!
> java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 107
> at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
> at org.infinispan.client.hotrod.RemoteMultimapCacheAPITest.testContainsEntry(RemoteMultimapCacheAPITest.java:128)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
> at org.infinispan.client.hotrod.impl.protocol.HotRodConstants$Names.of(HotRodConstants.java:241)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.writeHeader(Codec20.java:129)
> at org.infinispan.client.hotrod.impl.protocol.Codec28.writeHeader(Codec28.java:19)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendKeyValueOperation(AbstractKeyValueOperation.java:53)
> at org.infinispan.client.hotrod.impl.multimap.operations.PutKeyValueMultimapOperation.executeOperation(PutKeyValueMultimapOperation.java:43)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:75)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:258)
> at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:296)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyOperation.fetchChannelAndInvoke(AbstractKeyOperation.java:39)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:60)
> at org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl.put(RemoteMultimapCacheImpl.java:78)
> ... 24 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9267) RemoteMultimapCacheAPITest fails with trace logging enabled
by Dan Berindei (JIRA)
Dan Berindei created ISPN-9267:
----------------------------------
Summary: RemoteMultimapCacheAPITest fails with trace logging enabled
Key: ISPN-9267
URL: https://issues.jboss.org/browse/ISPN-9267
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 9.3.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.3.0.Final
{{Codec20.writeHeader()}} logs the name of the operation using {{HotRodConstants.Names.of(op)}}, which in turn uses an array populated with the request/response constants in {{HotRodConstants}}. The multimap request/response ops are defined in {{MultimapHotRodConstants}}, so they're missing from the array:
{noformat}
[ERROR] testContainsEntry(org.infinispan.client.hotrod.RemoteMultimapCacheAPITest) Time elapsed: 0.016 s <<< FAILURE!
java.util.concurrent.CompletionException: java.lang.ArrayIndexOutOfBoundsException: 107
at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
at org.infinispan.client.hotrod.RemoteMultimapCacheAPITest.testContainsEntry(RemoteMultimapCacheAPITest.java:128)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
at org.infinispan.client.hotrod.impl.protocol.HotRodConstants$Names.of(HotRodConstants.java:241)
at org.infinispan.client.hotrod.impl.protocol.Codec20.writeHeader(Codec20.java:129)
at org.infinispan.client.hotrod.impl.protocol.Codec28.writeHeader(Codec28.java:19)
at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendKeyValueOperation(AbstractKeyValueOperation.java:53)
at org.infinispan.client.hotrod.impl.multimap.operations.PutKeyValueMultimapOperation.executeOperation(PutKeyValueMultimapOperation.java:43)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.invoke(RetryOnFailureOperation.java:75)
at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.activateChannel(ChannelPool.java:217)
at org.infinispan.client.hotrod.impl.transport.netty.ChannelPool.acquire(ChannelPool.java:86)
at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:258)
at org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory.fetchChannelAndInvoke(ChannelFactory.java:296)
at org.infinispan.client.hotrod.impl.operations.AbstractKeyOperation.fetchChannelAndInvoke(AbstractKeyOperation.java:39)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:60)
at org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl.put(RemoteMultimapCacheImpl.java:78)
... 24 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months