]
Dan Berindei updated ISPN-6235:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
ClusterTopologyManagerImpl join during cluster status recovery
--------------------------------------------------------------
Key: ISPN-6235
URL:
https://issues.jboss.org/browse/ISPN-6235
Project: Infinispan
Issue Type: Bug
Reporter: Dan Berindei
Assignee: Dan Berindei
Labels: testsuite_stability
If the joiner has the correct view id, but the current status is
RECOVERING_CLUSTER, we should wait for the cluster status recovery to
finish before adding the new member.
We are currently not doing that, so the new member could be erased by the status recovery
process that's in progress. This can happen if the coordinator joiner already had been
a member of the JGroups cluster for some time, and there's no view change when they
actually start their caches (exactly the scenario in {{ConcurrentStartTest}}).