[
https://issues.jboss.org/browse/ISPN-2096?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-2096:
------------------------------------
Robby, Michal was trying to create a cluster in which one node used the Infinispan
standalone and the other node used the version of Infinispan bundled with AS7. These two
configurations are _not_ guaranteed to be the same.
If you use the same version of Infinispan on all your nodes, with the same ISPN+JGroups
configuration, then your case is completely different from Michal's. I suggest you
post your log here (you should have at least DEBUG logging enabled for org.infinispan).
Duplicate join requests break destabilizes the cluster
------------------------------------------------------
Key: ISPN-2096
URL:
https://issues.jboss.org/browse/ISPN-2096
Project: Infinispan
Issue Type: Bug
Components: State transfer
Affects Versions: 5.1.5.FINAL
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 5.2.0.ALPHA3
When the coordinator receives a {{CacheViewControlCommand(REQUEST_JOIN)}} command from a
node that's already a member of the cache, it should just ignore it. Currently it
tries to install a new cache view with a duplicate member, and the new cache view
installation fails with this error:
{noformat}
[13:37:08,442] [WARN] (CacheViewControlCommand.java:141) - ISPN000071: Caught exception
when handling command CacheViewControlCommand{cache=Demo, type=PREPARE_VIEW,
sender=ppl-poz-nb0074/testy, newViewId=2, newMembers=[PPL-POZ-NB0074-33316,
PPL-POZ-NB0074-33316], oldViewId=1, oldMembers=[PPL-POZ-NB0074-33316]}
java.lang.IllegalStateException: Cannot prepare new view CacheView{viewId=2,
members=[PPL-POZ-NB0074-33316, PPL-POZ-NB0074-33316]} on cache Demo, we are currently
preparing view CacheView{viewId=2, members=[PPL-POZ-NB0074-33316, PPL-POZ-NB0074-33316]}
at org.infinispan.cacheviews.CacheViewInfo.prepareView(CacheViewInfo.java:102)
at
org.infinispan.cacheviews.CacheViewsManagerImpl.handlePrepareView(CacheViewsManagerImpl.java:481)
at
org.infinispan.commands.control.CacheViewControlCommand.perform(CacheViewControlCommand.java:126)
{noformat}
--
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