从infinispan集群中删除节点时获取异常

时间:2012-01-13 09:47:11

标签: jgroups infinispan

当我尝试从使用jgroups作为传输的infinispan集群中删除节点时,我收到以下异常

org.infinispan.remoting.transport.jgroups.SuspectException: One or more nodes have left the cluster while replicating command CacheViewControlCommand

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterPrepareView(CacheViewsManagerImpl.java:299)
at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterInstallView(CacheViewsManagerImpl.java:244)
at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewInstallationTask.call(CacheViewsManagerImpl.java:815)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

并且这个异常会永远被所有活动节点打印出来。

我该如何解决这个问题?

提前致谢。

1 个答案:

答案 0 :(得分:0)

假设您使用的是5.1.0.FINAL,我相信您会看到此问题:https://issues.jboss.org/browse/ISPN-1814

问题已在5.1.1.FINAL中修复,因此解决方案是升级。