[英]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.