[JBoss JIRA] (ISPN-8555) CacheManagerTest.testConcurrentCacheManagerStopAndGetCache randomly hangs
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8555?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8555:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> CacheManagerTest.testConcurrentCacheManagerStopAndGetCache randomly hangs
> -------------------------------------------------------------------------
>
> Key: ISPN-8555
> URL: https://issues.jboss.org/browse/ISPN-8555
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.2.0.Beta2
>
>
> If there is any exception, the finally block tries to stop the cache manager without first unblocking the stop method, and it hangs:
> {noformat}
> "ForkThread-1,CacheManagerTest" #204160 prio=5 os_prio=0 tid=0x00007fa1900aa800 nid=0x1be5 waiting on condition [0x00007fa0db5b3000]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000000c846b690> (a java.util.concurrent.CompletableFuture$Signaller)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
> at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
> at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
> at org.infinispan.manager.CacheManagerTest$2.stop(CacheManagerTest.java:274)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91)
> at org.infinispan.commons.util.SecurityActions$$Lambda$169/1215571888.run(Unknown Source)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:684)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:583)
> - locked <0x00000000c846b6d8> (a org.infinispan.factories.GlobalComponentRegistry)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:271)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:206)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1000)
> at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:411)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:637)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:582)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:468)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:454)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:440)
> at org.infinispan.manager.CacheManagerTest.lambda$testConcurrentCacheManagerStopAndGetCache$4(CacheManagerTest.java:279)
> at org.infinispan.manager.CacheManagerTest$$Lambda$3417/950279155.call(Unknown Source)
> at org.infinispan.test.AbstractInfinispanTest$LoggingCallable.call(AbstractInfinispanTest.java:543)
> 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)
> Locked ownable synchronizers:
> - <0x00000000c846b8d0> (a java.util.concurrent.ThreadPoolExecutor$Worker)
> "testng-CacheManagerTest" #24 prio=5 os_prio=0 tid=0x00007fa260ece000 nid=0x44b6 waiting on condition [0x00007fa1e4626000]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000000c84702c0> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
> at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)
> at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:695)
> at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:774)
> at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:765)
> at org.infinispan.manager.CacheManagerTest.testConcurrentCacheManagerStopAndGetCache(CacheManagerTest.java:295)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> 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)
> Locked ownable synchronizers:
> - <0x00000000c4628978> (a java.util.concurrent.ThreadPoolExecutor$Worker)
> "ForkThread-2,CacheManagerTest" #204172 prio=5 os_prio=0 tid=0x00007fa1900f6800 nid=0x1bf2 waiting on condition [0x00007fa0da9a8000]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000000c84181c0> (a java.util.concurrent.CompletableFuture$Signaller)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
> at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
> at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
> at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
> at org.infinispan.manager.DefaultCacheManager.terminate(DefaultCacheManager.java:681)
> at org.infinispan.manager.DefaultCacheManager.stopCaches(DefaultCacheManager.java:727)
> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:704)
> at org.infinispan.manager.CacheManagerTest.lambda$testConcurrentCacheManagerStopAndGetCache$5(CacheManagerTest.java:282)
> at org.infinispan.manager.CacheManagerTest$$Lambda$3418/1712334616.run(Unknown Source)
> at org.infinispan.test.AbstractInfinispanTest$RunnableWrapper.run(AbstractInfinispanTest.java:510)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 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)
> Locked ownable synchronizers:
> - <0x00000000c8418270> (a java.util.concurrent.ThreadPoolExecutor$Worker)
> - <0x00000000c84702c0> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (ISPN-8589) Cache @Stop methods should be invoked in privileged block
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8589?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8589:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Cache @Stop methods should be invoked in privileged block
> ---------------------------------------------------------
>
> Key: ISPN-8589
> URL: https://issues.jboss.org/browse/ISPN-8589
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.2.0.Beta1
> Reporter: Dan Berindei
> Assignee: William Burns
> Fix For: 9.2.0.Beta2
>
>
> Also happens in {{HotRodKrbAuthIT}}.
> {noformat}
> 14:54:42,512 WARN [org.infinispan.factories.ComponentRegistry] (MSC service thread 1-1) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.stream.impl.IteratorHandler.stop() on object of type IteratorHandler
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:684)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:583)
> at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:259)
> at org.infinispan.cache.impl.CacheImpl.performImmediateShutdown(CacheImpl.java:1046)
> at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:1010)
> at org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:420)
> at org.infinispan.registry.impl.InternalCacheRegistryImpl.unregisterInternalCache(InternalCacheRegistryImpl.java:79)
> at org.infinispan.server.hotrod.HotRodServer.stop(HotRodServer.java:485)
> at org.infinispan.server.endpoint.subsystem.ProtocolServerService.doStop(ProtocolServerService.java:216)
> at org.infinispan.server.endpoint.subsystem.ProtocolServerService.stop(ProtocolServerService.java:206)
> 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:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'LISTEN' permission
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:87)
> at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:57)
> at org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:749)
> at org.infinispan.stream.impl.IteratorHandler.stop(IteratorHandler.java:92)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
> ... 19 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (ISPN-8603) Missing Rest codec in the CLI
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8603?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8603:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.2.0.Beta2
Resolution: Done
> Missing Rest codec in the CLI
> -----------------------------
>
> Key: ISPN-8603
> URL: https://issues.jboss.org/browse/ISPN-8603
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 9.2.0.Beta1, 9.1.3.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Beta2, 9.2.0.Final, 9.1.4.Final
>
>
> {noformat}
> ./ispn-cli.sh --connect
> cd /subsystem=datagrid-infinispan/cache-container=clustered
> encoding rest
> {noformat}
> Gives an error:
> ISPN019012: No such codec named 'rest'
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (ISPN-8608) GetAllCacheNotFoundResponseTest fails
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8608?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8608:
------------------------------------
Description:
{noformat}
Error Message
Timed out waiting for rebalancing to complete on node
GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is
CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners =
(2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0,
GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null,
phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-
12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-
cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}.
rebalanceInProgress=false, currentChIsBalanced=false
{noformat}
Stacktrace:
{noformat}
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners = (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0, GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null, phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}. rebalanceInProgress=false, currentChIsBalanced=false
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:291)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:296)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:360)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:374)
at org.infinispan.commands.GetAllCacheNotFoundResponseTest.createCacheManagers(GetAllCacheNotFoundResponseTest.java:58)
at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:113)
at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:107)
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 15 stack frames
{noformat}
was:
{noformat}
Error Message
Timed out waiting for rebalancing to complete on node
GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is
CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners =
(2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0,
GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null,
phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-
12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-
cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}.
rebalanceInProgress=false, currentChIsBalanced=false
{noformat}
Stacktrace:
{noformat}
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners = (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0, GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null, phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}. rebalanceInProgress=false, currentChIsBalanced=false
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:291)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:296)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:360)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:374)
at org.infinispan.commands.GetAllCacheNotFoundResponseTest.createCacheManagers(GetAllCacheNotFoundResponseTest.java:58)
at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:113)
at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:107)
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 15 stack frames
{noformat}
> GetAllCacheNotFoundResponseTest fails
> -------------------------------------
>
> Key: ISPN-8608
> URL: https://issues.jboss.org/browse/ISPN-8608
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
>
> {noformat}
> Error Message
> Timed out waiting for rebalancing to complete on node
> GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is
> CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners =
> (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0,
> GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null,
> phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-
> 12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-
> cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}.
> rebalanceInProgress=false, currentChIsBalanced=false
> {noformat}
> Stacktrace:
> {noformat}
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners = (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0, GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null, phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}. rebalanceInProgress=false, currentChIsBalanced=false
> at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
> at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:291)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:296)
> at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:360)
> at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:374)
> at org.infinispan.commands.GetAllCacheNotFoundResponseTest.createCacheManagers(GetAllCacheNotFoundResponseTest.java:58)
> at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:113)
> at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:107)
> 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 15 stack frames
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (ISPN-8608) GetAllCacheNotFoundResponseTest fails
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-8608:
---------------------------------------
Summary: GetAllCacheNotFoundResponseTest fails
Key: ISPN-8608
URL: https://issues.jboss.org/browse/ISPN-8608
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.0.Beta1
Reporter: Gustavo Fernandes
{noformat}
Error Message
Timed out waiting for rebalancing to complete on node
GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is
CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners =
(2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0,
GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null,
phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-
12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-
cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}.
rebalanceInProgress=false, currentChIsBalanced=false
{noformat}
Stacktrace:
{noformat}
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners = (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0, GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null, phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}. rebalanceInProgress=false, currentChIsBalanced=false
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:291)
at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:296)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:360)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:374)
at org.infinispan.commands.GetAllCacheNotFoundResponseTest.createCacheManagers(GetAllCacheNotFoundResponseTest.java:58)
at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:113)
at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:107)
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 15 stack frames
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (ISPN-8606) Add boost to remotq query (via API)
by Ales Justin (JIRA)
Ales Justin created ISPN-8606:
---------------------------------
Summary: Add boost to remotq query (via API)
Key: ISPN-8606
URL: https://issues.jboss.org/browse/ISPN-8606
Project: Infinispan
Issue Type: Task
Components: Remote Querying
Reporter: Ales Justin
Assignee: Adrian Nistor
FilterConditionBeginContext begin = (first == null ? queryBuilder : (FilterConditionBeginContext) first);
if (!Float.isNaN(entry.getBoost())) {
// TODO boost
}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years