[JBoss JIRA] (ISPN-2056) exception in stopping a component resulted in failing to stop cache manager
by dex chen (JIRA)
dex chen created ISPN-2056:
------------------------------
Summary: exception in stopping a component resulted in failing to stop cache manager
Key: ISPN-2056
URL: https://issues.jboss.org/browse/ISPN-2056
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.1.4.FINAL
Environment: ISPN 5.1.4.Final
2 node cluster with jgroup-tcp.xml and replication mode
Reporter: dex chen
Assignee: Manik Surtani
If cacheManager.stop() got any exception, the cache manger will not be able stopped by retrying stop().
This will resulted in following new cache manager instance with same configure fail to start with following exception:
org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on
object of type JGroupsTransport
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:226)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:152)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:167)
at
org.infinispan.factories.InterceptorChainFactory.register(InterceptorChainFactory.java:73)
at
org.infinispan.factories.InterceptorChainFactory.createInterceptor(InterceptorChainFactory.java:62)
at
org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:95)
at
org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:272)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:286)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:102)
at
org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:78)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:62)
at
org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:692)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
at
.....StatusUpdater.poll.....
....
Caused by: org.infinispan.CacheException: Unable to start JGroups Channel
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:186)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:175)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 96 more
Caused by: java.lang.IllegalStateException: cluster 'HA_Customer_9.3' is
already connected to singleton transport: [dummy-1336085803144,
dummy-1336085899401, dummy-1336085785840, dummy-1336085828476,
dummy-1336085808197, HA_Customer_9.3, dummy-1336085874063,
dummy-1336085868964, dummy-1336085785779, dummy-1336085818352,
dummy-1336085792988, dummy-1336085879152, dummy-1336085823409,
dummy-1336085785693, dummy-1336085848698, dummy-1336085785734,
dummy-1336085813295, dummy-1336085889257, dummy-1336085853769,
dummy-1336085894308, dummy-1336085843643, dummy-1336085833534,
dummy-1336085787888, dummy-1336085798048, dummy-1336085785653,
dummy-1336085884206, dummy-1336085863914, dummy-1336085785603,
dummy-1336085838588, dummy-1336085858821]
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:909)
at org.jgroups.JChannel.startStack(JChannel.java:841)
at org.jgroups.JChannel.connect(JChannel.java:277)
at org.jgroups.JChannel.connect(JChannel.java:261)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:184)
This specific case is caused by cache manager can not terminate the first cache manager instance becaue of SyncFailedException: sync failed as shown:
2012-05-17/10:11:32.539/MDT [Thread-23] DEBUG com.symplified.service.shared.platform.cluster.InfinispanClusterCacheStoreServiceImpl[183] - exception caught in stop existing cache manager
org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.stop() on object of type CacheLoaderManagerImpl
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:553)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:199)
at org.infinispan.CacheImpl.stop(CacheImpl.java:539)
at org.infinispan.CacheImpl.stop(CacheImpl.java:531)
at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:742)
.....
Caused by: org.infinispan.CacheException: java.io.SyncFailedException: sync failed
at org.infinispan.loaders.jdbm.JdbmCacheStore.stop(JdbmCacheStore.java:246)
at org.infinispan.loaders.decorators.AbstractDelegatingStore.stop(AbstractDelegatingStore.java:155)
at org.infinispan.loaders.decorators.AsyncStore.stop(AsyncStore.java:237)
at org.infinispan.loaders.CacheLoaderManagerImpl.stop(CacheLoaderManagerImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 14 more
Caused by: java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at jdbm.recman.TransactionManager.sync(TransactionManager.java:331)
at jdbm.recman.TransactionManager.close(TransactionManager.java:347)
at jdbm.recman.TransactionManager.synchronizeLogFromMemory(TransactionManager.java:156)
at jdbm.recman.TransactionManager.shutdown(TransactionManager.java:339)
at jdbm.recman.RecordFile.close(RecordFile.java:346)
at jdbm.recman.BaseRecordManager.close(BaseRecordManager.java:168)
I do not see there is any way to froce stop the cache manager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (ISPN-2043) Node fails to join already formed replication mode cluster
by Ondrej Nevelik (JIRA)
Ondrej Nevelik created ISPN-2043:
------------------------------------
Summary: Node fails to join already formed replication mode cluster
Key: ISPN-2043
URL: https://issues.jboss.org/browse/ISPN-2043
Project: Infinispan
Issue Type: Bug
Components: State transfer
Affects Versions: 5.1.4.FINAL
Reporter: Ondrej Nevelik
Assignee: Manik Surtani
During elasticity test with this timeline:
start node1, REPLICATED clustering mode
wait for start
load data
start node2
wait for cluster to form
start node3
wait for cluster to form
...
node3 fails to join the cluster with the following stack trace:
node03: 06:58:06,731 ERROR [org.infinispan.cacheviews.CacheViewsManagerImpl] (CacheViewInstaller-3,node03/default) ISPN000172: Failed to prepare view CacheView{viewId=1, members=[node03/default]} for cache ___hotRodTopologyCache, rolling back to view CacheView{viewId=-1, members=[]}: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Cannot prepare new view CacheView{viewId=1, members=[node03/default]} on cache ___hotRodTopologyCache, we are currently preparing view CacheView{viewId=3, members=[node01/default, node02/default, node03/default]}
node03: at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.get(FutureTask.java:91) [rt.jar:1.6.0_30]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterPrepareView(CacheViewsManagerImpl.java:321) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterInstallView(CacheViewsManagerImpl.java:249) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewInstallationTask.call(CacheViewsManagerImpl.java:875) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
node03: at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
node03: Caused by: java.lang.IllegalStateException: Cannot prepare new view CacheView{viewId=1, members=[node03/default]} on cache ___hotRodTopologyCache, we are currently preparing view CacheView{viewId=3, members=[node01/default, node02/default, node03/default]}
node03: at org.infinispan.cacheviews.CacheViewInfo.prepareView(CacheViewInfo.java:102) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.handlePrepareView(CacheViewsManagerImpl.java:481) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl$3.call(CacheViewsManagerImpl.java:312) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
node03: at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
node03: at org.jboss.threads.JBossThread.run(JBossThread.java:122)
node03:
node03: 06:58:07,728 ERROR [org.infinispan.cacheviews.CacheViewsManagerImpl] (CacheViewInstaller-3,node03/default) ISPN000172: Failed to prepare view CacheView{viewId=3, members=[node03/default]} for cache ___hotRodTopologyCache, rolling back to view CacheView{viewId=2, members=[]}: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Trying to block write commands but they are already blocked for view 3
node03: at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.get(FutureTask.java:91) [rt.jar:1.6.0_30]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterPrepareView(CacheViewsManagerImpl.java:321) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterInstallView(CacheViewsManagerImpl.java:249) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewInstallationTask.call(CacheViewsManagerImpl.java:875) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
node03: at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
node03: Caused by: java.lang.IllegalStateException: Trying to block write commands but they are already blocked for view 3
node03: at org.infinispan.statetransfer.StateTransferLockImpl.blockNewTransactions(StateTransferLockImpl.java:233) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.statetransfer.ReplicatedStateTransferTask.doPerformStateTransfer(ReplicatedStateTransferTask.java:84) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.statetransfer.BaseStateTransferTask.performStateTransfer(BaseStateTransferTask.java:93) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.statetransfer.BaseStateTransferManagerImpl.prepareView(BaseStateTransferManagerImpl.java:331) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl.handlePrepareView(CacheViewsManagerImpl.java:485) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at org.infinispan.cacheviews.CacheViewsManagerImpl$3.call(CacheViewsManagerImpl.java:312) [infinispan-core-5.1.5.ER8-redhat-1.jar:5.1.5.ER8-redhat-1]
node03: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
node03: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
node03: at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
node03: at org.jboss.threads.JBossThread.run(JBossThread.java:122)
node03:
node03: 07:19:37,679 ERROR [org.infinispan.cacheviews.CacheViewInfo] (undefined) ISPN000164: Rolling back to cache view 2, but last committed view is 1
node03: 07:19:37,687 ERROR [org.infinispan.cacheviews.CacheViewInfo] (undefined) ISPN000164: Rolling back to cache view 5, but last committed view is 1
node03: 07:19:37,689 ERROR [org.infinispan.cacheviews.CacheViewInfo] (undefined) ISPN000164: Rolling back to cache view 6, but last committed view is 1
node03: 07:19:47,684 ERROR [org.infinispan.cacheviews.CacheViewInfo] (undefined) ISPN000164: Rolling back to cache view 3, but last committed view is 5
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (ISPN-2052) Removing non-existent keys with force return previous value fails with Hot Rod client
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-2052:
--------------------------------------
Summary: Removing non-existent keys with force return previous value fails with Hot Rod client
Key: ISPN-2052
URL: https://issues.jboss.org/browse/ISPN-2052
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Affects Versions: 5.1.5.CR1, 5.1.4.FINAL
Reporter: Galder Zamarreño
Assignee: Manik Surtani
Fix For: 5.1.5.FINAL
While investigating http://goo.gl/4t4gQ, I've come across an issue in the Hot Rod client. The protocol (https://docs.jboss.org/author/x/eICQ) indicates that the remove response consists of:
{quote}If ForceReturnPreviousValue has been passed, remove response will contain previous value (including value length) for that key. If the key does not exist or previous was null, value length would be 0. Otherwise, if no ForceReturnPreviousValue was sent, the response would be empty.{quote}
The problem is that the client does not read the last length byte if the key is not present, after a remove for a key with force return previous value that does not exists, if you do any operation, you'll see:
{code}org.infinispan.client.hotrod.exceptions.InvalidResponseException:: Invalid magic number. Expected 0xa1 and received 0x0
at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:92){code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (ISPN-2015) Upgrade to Netty 3.4.2 when ready
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-2015:
--------------------------------------
Summary: Upgrade to Netty 3.4.2 when ready
Key: ISPN-2015
URL: https://issues.jboss.org/browse/ISPN-2015
Project: Infinispan
Issue Type: Component Upgrade
Components: Cache Server
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.2.0.FINAL
According to Norman, there's some important memory optimisations coming in this version, that should in theory allow us to get rid of the custom replaying decoder.
I'll do the upgrade in a separate branch and I'll pass on to QE to run:
* Data stress tests and compare with current version
* Client stress tests and compare with native Memcached and previous versions
Depending on the results of this, we can potentially consider doing the upgrade in 5.1.x.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months