简体   繁体   English

当我从集群中删除成员时,Infinispan 8.0.1 崩溃

[英]Infinispan 8.0.1 crashing when I remove a member from the cluster

I am using play framework version 2.3.8 and the plugin( https://github.com/n4cer/playInfinispanCachePlugin ) to integrate infinispan(version 8.0.1 with jgroups) in my app for distribution cache.我正在使用播放框架版本 2.3.8 和插件( https://github.com/n4cer/playInfinispanCachePlugin )在我的应用程序中集成 infinispan(版本 8.0.1 和 jgroups)用于分发缓存。 Configuration for the infinispan can be found in the plugin project and I am using S3_PING protocol. infinispan 的配置可以在插件项目中找到,我使用的是 S3_PING 协议。

This setup working well until I remove a member from the cluster.在我从集群中删除成员之前,此设置运行良好。 When I remove a member from the cluster, other active members in the cluster slowly going down and throwing errors, finally my application is not responding.当我从集群中删除一个成员时,集群中的其他活动成员慢慢下降并抛出错误,最后我的应用程序没有响应。 This issue get resolved when I restart all the members.当我重新启动所有成员时,此问题得到解决。 How to make it work when I remove a member from the cluster?从集群中删除成员时如何使其工作?

I see this exception我看到了这个异常

org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.Exception on object of type StateTransferManagerImpl
        at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172) ~[org.infinispan.infinispan-commons-8.0.1.Final.jar:8.0.1.Final]
        at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869) ~[org.infinispan.infinispan-core-8.0.1.Final.jar:8.0.1.Final]
        at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638) ~[org.infinispan.infinispan-core-8.0.1.Final.jar:8.0.1.Final]
        at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627) ~[org.infinispan.infinispan-core-8.0.1.Final.jar:8.0.1.Final]
        at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530) ~[org.infinispan.infinispan-core-8.0.1.Final.jar:8.0.1.Final]
Caused by: org.infinispan.commons.CacheException: Initial state transfer timed out for cache ___defaultcache on ri-stress-ui1-new-52199
        at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:225) ~[org.infinispan.infinispan-core-8.0.1.Final.jar:8.0.1.Final]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_212]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_212]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_212]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_212]

This should not happen, but you are using a really old version of Infinispan.这不应该发生,但是您使用的是非常旧的 Infinispan 版本。 You should really upgrade to a current version of Infinispan such as 10.1.8.Final.您真的应该升级到当前版本的 Infinispan,例如 10.1.8.Final。 Can you also include logs to help us understand and debug your issue?您是否还可以包含日志以帮助我们了解和调试您的问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Akka 集群:当成员被标​​记为无法访问时,为什么我没有收到 UnreachableMember 事件? - Akka cluster: why don't I receive a UnreachableMember event when a member is marked unreachable? 节点尝试加入集群时失败 - Node fails when it tries to join cluster 当从视图中引用控制器中的Java类时,Play Framework编译错误“类型索引不是对象控制器的成员。应用程序” - Play Framework compile error “type Index is not a member of object controllers.Application” when referring to Java class in controller from view 尝试向Akka群集发送请求时,Play Controller会抛出AskTimeoutException - Play Controller throws AskTimeoutException when trying to send a request to an Akka cluster Hibernate和Playframework 1.2.4:查询成员集合大小时的奇怪行为 - Hibernate and Playframework 1.2.4 : strange behaviour when querying member collection size 如何从typesafe配置中的列表中删除项目? - How to remove an item from list in typesafe config? 在我的Play2应用程序中使用Future进行getOrElse时,获取值映射不是Object的成员 - Getting value map is not a member of Object when doing getOrElse with Future in my Play2 app 如何从scala中的map中删除键值 - how to remove key value from map in scala 播放Akka cluster dist - Play Akka cluster dist 在集群中发现 Akka actors - Discovery of Akka actors in cluster
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM