[JBoss JIRA] (ISPN-12165) Change RemoteStore to handle media types and verify segments
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-12165?page=com.atlassian.jira.plugi... ]
Ryan Emerson resolved ISPN-12165.
---------------------------------
Fix Version/s: 12.0.0.Dev03
(was: 12.0.0.Final)
Resolution: Done
> Change RemoteStore to handle media types and verify segments
> ------------------------------------------------------------
>
> Key: ISPN-12165
> URL: https://issues.redhat.com/browse/ISPN-12165
> Project: Infinispan
> Issue Type: Enhancement
> Components: Loaders and Stores
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> RemoteStore today relies on byte[]s matching without any verification. This means if you must have your cache that has the store and the remote cache sharing the same binary key and value storage.
> We can enhance this to check the media types which buys us a few things
> # We don't have to marshall values that already match the same key and value types (excluding object storage)
> # Segmentation can only be supported if the key media types match exactly (including object storage) and also the number of segments must match
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-10365) PreferAvailabilityStrategy assertion failure
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-10365?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-10365:
--------------------------------
Fix Version/s: 12.0.0.Dev03
> PreferAvailabilityStrategy assertion failure
> --------------------------------------------
>
> Key: ISPN-10365
> URL: https://issues.redhat.com/browse/ISPN-10365
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> This scenario happens unintentionally in {{RebalancePolicyJmxTest}}, because the test waits for the default cache to finish rebalancing before killing the coordinator but doesn't care about the {{CONFIG}} cache:
> * A and B are running, rebalancing is disabled, then C and D join
> * Re-enable rebalance, but stop B and A before the rebalance is done
> * C sees the finished rebalance, D sees the READ_OLD phase
> * C becomes coordinator and should recover with C's topology, but instead has an assertion failure and doesn't install a stable topology
> {noformat}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG keeping partition from [Test-NodeC-27509(rack-id=r2)]: CacheTopology{id=9, phase=NO_REBALANCE, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeC-27509(rack-id=r2): 125, Test-NodeD-62603(rack-id=r2): 131]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG keeping partition from [Test-NodeD-62603(rack-id=r2)]: CacheTopology{id=6, phase=READ_OLD_WRITE_ALL, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (4)[Test-NodeA-4515(rack-id=r1): 63, Test-NodeB-42590(rack-id=r1): 62, Test-NodeC-27509(rack-id=r2): 64, Test-NodeD-62603(rack-id=r2): 67]}, unionCH=null, actualMembers=[Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[e9dcc3da-07a2-4159-a8b1-94e6428011c4, 3f27ddaa-1146-483e-8473-d79a5ba347f5, 59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG, resolveConflicts=false, newMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], possibleOwners=[Test-NodeD-62603(rack-id=r2), Test-NodeC-27509(rack-id=r2)], preferredTopology=CacheTopology{id=6, phase=READ_OLD_WRITE_ALL, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (4)[Test-NodeA-4515(rack-id=r1): 63, Test-NodeB-42590(rack-id=r1): 62, Test-NodeC-27509(rack-id=r2): 64, Test-NodeD-62603(rack-id=r2): 67]}, unionCH=null, actualMembers=[Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[e9dcc3da-07a2-4159-a8b1-94e6428011c4, 3f27ddaa-1146-483e-8473-d79a5ba347f5, 59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}, mergeTopologyId=10
> 16:48:48,454 WARN (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] ISPN000517: Ignoring cache topology from [Test-NodeC-27509(rack-id=r2)] during merge: CacheTopology{id=9, phase=NO_REBALANCE, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeC-27509(rack-id=r2): 125, Test-NodeD-62603(rack-id=r2): 131]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 DEBUG (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [CLUSTER] ISPN000521: Cache org.infinispan.CONFIG recovered after merge with topology = CacheTopology{id=10, phase=NO_REBALANCE, rebalanceId=4, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=null, unionCH=null, actualMembers=[], persistentUUIDs=[]}, availability mode null
> 16:48:48,454 FATAL (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [CLUSTER] [Context=org.infinispan.CONFIG] ISPN000313: Lost data because of abrupt leavers [Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)]
> 16:48:48,455 ERROR (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [LimitedExecutor] Exception in task
> java.lang.AssertionError: null
> at org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy.onPartitionMerge(PreferAvailabilityStrategy.java:217) ~[classes/:?]
> at org.infinispan.topology.ClusterCacheStatus.doMergePartitions(ClusterCacheStatus.java:647) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.lambda$recoverClusterStatus$4(ClusterTopologyManagerImpl.java:500) ~[classes/:?]
> at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:175) [classes/:?]
> {noformat}
> Eventually the missing stable topology makes the test fail:
> {noformat}
> 16:48:49,349 DEBUG (testng-Test:[null]) [ClusterCacheStatus] ISPN000519: Updating stable topology for cache org.infinispan.CONFIG, topology null
> 16:48:49,349 WARN (testng-Test:[null]) [CacheTopologyControlCommand] ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=null, type=POLICY_ENABLE, sender=Test-NodeC-27509(rack-id=r2), joinInfo=null, topologyId=0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, phase=null, actualMembers=null, throwable=null, viewId=5}
> java.lang.NullPointerException: null
> at org.infinispan.topology.CacheTopologyControlCommand.<init>(CacheTopologyControlCommand.java:147) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.broadcastStableTopologyUpdate(ClusterTopologyManagerImpl.java:659) ~[classes/:?]
> at org.infinispan.topology.ClusterCacheStatus.startQueuedRebalance(ClusterCacheStatus.java:806) ~[classes/:?]
> at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4772) ~[?:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.setRebalancingEnabled(ClusterTopologyManagerImpl.java:702) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.setRebalancingEnabled(ClusterTopologyManagerImpl.java:682) ~[classes/:?]
> at org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:215) ~[classes/:?]
> at org.infinispan.topology.CacheTopologyControlCommand.invokeAsync(CacheTopologyControlCommand.java:163) [classes/:?]
> at org.infinispan.commands.ReplicableCommand.invoke(ReplicableCommand.java:44) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.executeOnClusterSync(LocalTopologyManagerImpl.java:752) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setCacheRebalancingEnabled(LocalTopologyManagerImpl.java:623) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setRebalancingEnabled(LocalTopologyManagerImpl.java:581) [classes/:?]
> 16:48:49,355 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.statetransfer.RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspendedAwaitingInitialTransfer[DIST_SYNC]
> javax.management.MBeanException: Error invoking setter for attribute rebalancingEnabled
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:358) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setAttribute(ResourceDMBean.java:216) ~[classes/:?]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(DefaultMBeanServerInterceptor.java:736) ~[?:?]
> at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.java:739) ~[?:?]
> at org.infinispan.statetransfer.RebalancePolicyJmxTest.doTest(RebalancePolicyJmxTest.java:163) ~[test-classes/:?]
> at org.infinispan.statetransfer.RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspendedAwaitingInitialTransfer(RebalancePolicyJmxTest.java:44) ~[test-classes/:?]
> Caused by: java.lang.reflect.InvocationTargetException
> at jdk.internal.reflect.GeneratedMethodAccessor495.invoke(Unknown Source) ~[?:?]
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
> at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
> at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:422) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:355) ~[classes/:?]
> ... 28 more
> Caused by: org.infinispan.commons.CacheException: Unsuccessful local response
> at org.infinispan.topology.LocalTopologyManagerImpl.executeOnClusterSync(LocalTopologyManagerImpl.java:757) ~[classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setCacheRebalancingEnabled(LocalTopologyManagerImpl.java:623) ~[classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setRebalancingEnabled(LocalTopologyManagerImpl.java:581) ~[classes/:?]
> at jdk.internal.reflect.GeneratedMethodAccessor495.invoke(Unknown Source) ~[?:?]
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
> at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
> at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:422) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:355) ~[classes/:?]
> ... 28 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-10365) PreferAvailabilityStrategy assertion failure
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-10365?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-10365:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8631
> PreferAvailabilityStrategy assertion failure
> --------------------------------------------
>
> Key: ISPN-10365
> URL: https://issues.redhat.com/browse/ISPN-10365
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
>
> This scenario happens unintentionally in {{RebalancePolicyJmxTest}}, because the test waits for the default cache to finish rebalancing before killing the coordinator but doesn't care about the {{CONFIG}} cache:
> * A and B are running, rebalancing is disabled, then C and D join
> * Re-enable rebalance, but stop B and A before the rebalance is done
> * C sees the finished rebalance, D sees the READ_OLD phase
> * C becomes coordinator and should recover with C's topology, but instead has an assertion failure and doesn't install a stable topology
> {noformat}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG keeping partition from [Test-NodeC-27509(rack-id=r2)]: CacheTopology{id=9, phase=NO_REBALANCE, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeC-27509(rack-id=r2): 125, Test-NodeD-62603(rack-id=r2): 131]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG keeping partition from [Test-NodeD-62603(rack-id=r2)]: CacheTopology{id=6, phase=READ_OLD_WRITE_ALL, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (4)[Test-NodeA-4515(rack-id=r1): 63, Test-NodeB-42590(rack-id=r1): 62, Test-NodeC-27509(rack-id=r2): 64, Test-NodeD-62603(rack-id=r2): 67]}, unionCH=null, actualMembers=[Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[e9dcc3da-07a2-4159-a8b1-94e6428011c4, 3f27ddaa-1146-483e-8473-d79a5ba347f5, 59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 TRACE (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] Cache org.infinispan.CONFIG, resolveConflicts=false, newMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], possibleOwners=[Test-NodeD-62603(rack-id=r2), Test-NodeC-27509(rack-id=r2)], preferredTopology=CacheTopology{id=6, phase=READ_OLD_WRITE_ALL, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (4)[Test-NodeA-4515(rack-id=r1): 63, Test-NodeB-42590(rack-id=r1): 62, Test-NodeC-27509(rack-id=r2): 64, Test-NodeD-62603(rack-id=r2): 67]}, unionCH=null, actualMembers=[Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[e9dcc3da-07a2-4159-a8b1-94e6428011c4, 3f27ddaa-1146-483e-8473-d79a5ba347f5, 59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}, mergeTopologyId=10
> 16:48:48,454 WARN (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [PreferAvailabilityStrategy] ISPN000517: Ignoring cache topology from [Test-NodeC-27509(rack-id=r2)] during merge: CacheTopology{id=9, phase=NO_REBALANCE, rebalanceId=3, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeC-27509(rack-id=r2): 125, Test-NodeD-62603(rack-id=r2): 131]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)], persistentUUIDs=[59d0898c-f166-4129-9165-a22aca475286, 05d7dd0b-7cd8-464d-8adb-41fac100e8bf]}
> 16:48:48,454 DEBUG (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [CLUSTER] ISPN000521: Cache org.infinispan.CONFIG recovered after merge with topology = CacheTopology{id=10, phase=NO_REBALANCE, rebalanceId=4, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeA-4515(rack-id=r1): 127, Test-NodeB-42590(rack-id=r1): 129]}, pendingCH=null, unionCH=null, actualMembers=[], persistentUUIDs=[]}, availability mode null
> 16:48:48,454 FATAL (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [CLUSTER] [Context=org.infinispan.CONFIG] ISPN000313: Lost data because of abrupt leavers [Test-NodeA-4515(rack-id=r1), Test-NodeB-42590(rack-id=r1), Test-NodeC-27509(rack-id=r2), Test-NodeD-62603(rack-id=r2)]
> 16:48:48,455 ERROR (stateTransferExecutor-thread-Test-NodeC-p49651-t6:[Merge-5]) [LimitedExecutor] Exception in task
> java.lang.AssertionError: null
> at org.infinispan.partitionhandling.impl.PreferAvailabilityStrategy.onPartitionMerge(PreferAvailabilityStrategy.java:217) ~[classes/:?]
> at org.infinispan.topology.ClusterCacheStatus.doMergePartitions(ClusterCacheStatus.java:647) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.lambda$recoverClusterStatus$4(ClusterTopologyManagerImpl.java:500) ~[classes/:?]
> at org.infinispan.executors.LimitedExecutor.runTasks(LimitedExecutor.java:175) [classes/:?]
> {noformat}
> Eventually the missing stable topology makes the test fail:
> {noformat}
> 16:48:49,349 DEBUG (testng-Test:[null]) [ClusterCacheStatus] ISPN000519: Updating stable topology for cache org.infinispan.CONFIG, topology null
> 16:48:49,349 WARN (testng-Test:[null]) [CacheTopologyControlCommand] ISPN000071: Caught exception when handling command CacheTopologyControlCommand{cache=null, type=POLICY_ENABLE, sender=Test-NodeC-27509(rack-id=r2), joinInfo=null, topologyId=0, rebalanceId=0, currentCH=null, pendingCH=null, availabilityMode=null, phase=null, actualMembers=null, throwable=null, viewId=5}
> java.lang.NullPointerException: null
> at org.infinispan.topology.CacheTopologyControlCommand.<init>(CacheTopologyControlCommand.java:147) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.broadcastStableTopologyUpdate(ClusterTopologyManagerImpl.java:659) ~[classes/:?]
> at org.infinispan.topology.ClusterCacheStatus.startQueuedRebalance(ClusterCacheStatus.java:806) ~[classes/:?]
> at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4772) ~[?:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.setRebalancingEnabled(ClusterTopologyManagerImpl.java:702) ~[classes/:?]
> at org.infinispan.topology.ClusterTopologyManagerImpl.setRebalancingEnabled(ClusterTopologyManagerImpl.java:682) ~[classes/:?]
> at org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:215) ~[classes/:?]
> at org.infinispan.topology.CacheTopologyControlCommand.invokeAsync(CacheTopologyControlCommand.java:163) [classes/:?]
> at org.infinispan.commands.ReplicableCommand.invoke(ReplicableCommand.java:44) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.executeOnClusterSync(LocalTopologyManagerImpl.java:752) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setCacheRebalancingEnabled(LocalTopologyManagerImpl.java:623) [classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setRebalancingEnabled(LocalTopologyManagerImpl.java:581) [classes/:?]
> 16:48:49,355 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.statetransfer.RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspendedAwaitingInitialTransfer[DIST_SYNC]
> javax.management.MBeanException: Error invoking setter for attribute rebalancingEnabled
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:358) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setAttribute(ResourceDMBean.java:216) ~[classes/:?]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(DefaultMBeanServerInterceptor.java:736) ~[?:?]
> at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.java:739) ~[?:?]
> at org.infinispan.statetransfer.RebalancePolicyJmxTest.doTest(RebalancePolicyJmxTest.java:163) ~[test-classes/:?]
> at org.infinispan.statetransfer.RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspendedAwaitingInitialTransfer(RebalancePolicyJmxTest.java:44) ~[test-classes/:?]
> Caused by: java.lang.reflect.InvocationTargetException
> at jdk.internal.reflect.GeneratedMethodAccessor495.invoke(Unknown Source) ~[?:?]
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
> at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
> at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:422) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:355) ~[classes/:?]
> ... 28 more
> Caused by: org.infinispan.commons.CacheException: Unsuccessful local response
> at org.infinispan.topology.LocalTopologyManagerImpl.executeOnClusterSync(LocalTopologyManagerImpl.java:757) ~[classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setCacheRebalancingEnabled(LocalTopologyManagerImpl.java:623) ~[classes/:?]
> at org.infinispan.topology.LocalTopologyManagerImpl.setRebalancingEnabled(LocalTopologyManagerImpl.java:581) ~[classes/:?]
> at jdk.internal.reflect.GeneratedMethodAccessor495.invoke(Unknown Source) ~[?:?]
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
> at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
> at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:422) ~[classes/:?]
> at org.infinispan.jmx.ResourceDMBean.setNamedAttribute(ResourceDMBean.java:355) ~[classes/:?]
> ... 28 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12238) Cli should support size command for the cache operation
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12238?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12238:
---------------------------------
Description:
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
}
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache? ( the first has the full output the others I truncated )
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
was:
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache? ( the first has the full output the others I truncated )
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
> Cli should support size command for the cache operation
> -------------------------------------------------------
>
> Key: ISPN-12238
> URL: https://issues.redhat.com/browse/ISPN-12238
> Project: Infinispan
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 12.0.0.Dev02, 11.0.3.Final
> Reporter: Diego Lovison
> Priority: Major
>
> dist cache owners="2"
> I have 3 nodes
> {noformat}
> [infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2695,
> "time_since_reset" : 2695,
> "current_number_of_entries" : 72,
> "current_number_of_entries_in_memory" : 72,
> "total_number_of_entries" : 4827,
> "off_heap_memory_used" : 378000,
> "data_memory_used" : 541056,
> "stores" : 4827,
> "retrievals" : 4830,
> "hits" : 4759,
> "misses" : 71,
> "remove_hits" : 0,
> "remove_misses" : 0,
> "evictions" : 0,
> "average_read_time" : 0,
> "average_read_time_nanos" : 347614,
> "average_write_time" : 2,
> "average_write_time_nanos" : 2076623,
> "average_remove_time" : 0,
> "average_remove_time_nanos" : 0,
> "required_minimum_number_of_nodes" : 2
> }
> [infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2758,
> "time_since_reset" : 2758,
> "current_number_of_entries" : 72,
> "current_number_of_entries_in_memory" : 72,
> [infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2825,
> "time_since_reset" : 2825,
> "current_number_of_entries" : 56,
> "current_number_of_entries_in_memory" : 56,
> {noformat}
> How many entries I have in my cache? ( the first has the full output the others I truncated )
> cli should support size command
> {noformat}
> [infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
> Command not found
> {noformat}
> The following rest call will return the size of the cache
> {noformat}
> GET /rest/v2/caches/{name}
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12238) Cli should support size command for the cache operation
by Diego Lovison (Jira)
[ https://issues.redhat.com/browse/ISPN-12238?page=com.atlassian.jira.plugi... ]
Diego Lovison updated ISPN-12238:
---------------------------------
Description:
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
"total_number_of_entries" : 4827,
"off_heap_memory_used" : 378000,
"data_memory_used" : 541056,
"stores" : 4827,
"retrievals" : 4830,
"hits" : 4759,
"misses" : 71,
"remove_hits" : 0,
"remove_misses" : 0,
"evictions" : 0,
"average_read_time" : 0,
"average_read_time_nanos" : 347614,
"average_write_time" : 2,
"average_write_time_nanos" : 2076623,
"average_remove_time" : 0,
"average_remove_time_nanos" : 0,
"required_minimum_number_of_nodes" : 2
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache? ( the first has the full output the others I truncated )
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
was:
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache?
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
> Cli should support size command for the cache operation
> -------------------------------------------------------
>
> Key: ISPN-12238
> URL: https://issues.redhat.com/browse/ISPN-12238
> Project: Infinispan
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 12.0.0.Dev02, 11.0.3.Final
> Reporter: Diego Lovison
> Priority: Major
>
> dist cache owners="2"
> I have 3 nodes
> {noformat}
> [infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2695,
> "time_since_reset" : 2695,
> "current_number_of_entries" : 72,
> "current_number_of_entries_in_memory" : 72,
> "total_number_of_entries" : 4827,
> "off_heap_memory_used" : 378000,
> "data_memory_used" : 541056,
> "stores" : 4827,
> "retrievals" : 4830,
> "hits" : 4759,
> "misses" : 71,
> "remove_hits" : 0,
> "remove_misses" : 0,
> "evictions" : 0,
> "average_read_time" : 0,
> "average_read_time_nanos" : 347614,
> "average_write_time" : 2,
> "average_write_time_nanos" : 2076623,
> "average_remove_time" : 0,
> "average_remove_time_nanos" : 0,
> "required_minimum_number_of_nodes" : 2
> [infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2758,
> "time_since_reset" : 2758,
> "current_number_of_entries" : 72,
> "current_number_of_entries_in_memory" : 72,
> [infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
> {
> "time_since_start" : 2825,
> "time_since_reset" : 2825,
> "current_number_of_entries" : 56,
> "current_number_of_entries_in_memory" : 56,
> {noformat}
> How many entries I have in my cache? ( the first has the full output the others I truncated )
> cli should support size command
> {noformat}
> [infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
> Command not found
> {noformat}
> The following rest call will return the size of the cache
> {noformat}
> GET /rest/v2/caches/{name}
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12239) Distributed server task always fails
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12239?page=com.atlassian.jira.plugi... ]
Dan Berindei closed ISPN-12239.
-------------------------------
Resolution: Duplicate Issue
Duplicate of ISPN-12199
> Distributed server task always fails
> ------------------------------------
>
> Key: ISPN-12239
> URL: https://issues.redhat.com/browse/ISPN-12239
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 11.0.3.Final
> Reporter: Dan Berindei
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> When running a distributed task, the server sends back to the client a list of results from each nodes (actually a {{Collections$SynchronizedRandomAccessList}} since ISPN-11226), which is not marshallable with the default configuration ({{ProtostreamMarshaller}}). {{JavaSerializationMarshaller}}, {{GenericJBossMarshaller}} probably won't work without a whitelist configuration, either.
> The server test suite doesn't cover distributed tasks, so we also need a new test, ideally testing all client marshallers.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12239) Distributed server task always fails
by Dan Berindei (Jira)
Dan Berindei created ISPN-12239:
-----------------------------------
Summary: Distributed server task always fails
Key: ISPN-12239
URL: https://issues.redhat.com/browse/ISPN-12239
Project: Infinispan
Issue Type: Bug
Components: Server, Tasks
Affects Versions: 11.0.3.Final
Reporter: Dan Berindei
Fix For: 12.0.0.Final
When running a distributed task, the server sends back to the client a list of results from each nodes (actually a {{Collections$SynchronizedRandomAccessList}} since ISPN-11226), which is not marshallable with the default configuration ({{ProtostreamMarshaller}}). {{JavaSerializationMarshaller}}, {{GenericJBossMarshaller}} probably won't work without a whitelist configuration, either.
The server test suite doesn't cover distributed tasks, so we also need a new test, ideally testing all client marshallers.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12238) Cli should support size command for the cache operation
by Diego Lovison (Jira)
Diego Lovison created ISPN-12238:
------------------------------------
Summary: Cli should support size command for the cache operation
Key: ISPN-12238
URL: https://issues.redhat.com/browse/ISPN-12238
Project: Infinispan
Issue Type: Enhancement
Components: CLI
Affects Versions: 11.0.3.Final, 12.0.0.Dev02
Reporter: Diego Lovison
dist cache owners="2"
I have 3 nodes
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2695,
"time_since_reset" : 2695,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-1-11783@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2758,
"time_since_reset" : 2758,
"current_number_of_entries" : 72,
"current_number_of_entries_in_memory" : 72,
[infinispan-2-20579@infinispan//containers/default/caches/x-site-async]> stats
{
"time_since_start" : 2825,
"time_since_reset" : 2825,
"current_number_of_entries" : 56,
"current_number_of_entries_in_memory" : 56,
{noformat}
How many entries I have in my cache?
cli should support size command
{noformat}
[infinispan-0-32936@infinispan//containers/default/caches/x-site-async]> size
Command not found
{noformat}
The following rest call will return the size of the cache
{noformat}
GET /rest/v2/caches/{name}
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (ISPN-12237) Add Blockhound exclusion for ForkJoinPool
by Will Burns (Jira)
Will Burns created ISPN-12237:
---------------------------------
Summary: Add Blockhound exclusion for ForkJoinPool
Key: ISPN-12237
URL: https://issues.redhat.com/browse/ISPN-12237
Project: Infinispan
Issue Type: Task
Components: Test Suite
Reporter: Will Burns
Fix For: 12.0.0.Final
ForkJoinPool blocks while waiting for a new task to be submitted. We need to allow this to block but also ensure that when a task is ran that it still be detected for blocking. In fact a ForkJoinPool task should never block, so we can use the `disallowBlockingCallsInside` method in BlockHound.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months