mirror of https://github.com/apache/cassandra
Fix restartWithEpochChanges test; make CMS nodes first gossip with CMS nodes
Patch by Alex Petrov; reviewed by Sam Tunnicliffe for CASSANDRA-20123
This commit is contained in:
parent
bad9805b7a
commit
4c0f9198de
|
|
@ -814,8 +814,8 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
Gossiper.instance.addLocalApplicationState(ApplicationState.SSTABLE_VERSIONS,
|
||||
valueFactory.sstableVersions(sstablesTracker.versionsInUse()));
|
||||
|
||||
if (ClusterMetadataService.state() == ClusterMetadataService.State.REMOTE)
|
||||
Gossiper.instance.triggerRoundWithCMS();
|
||||
Gossiper.instance.triggerRoundWithCMS();
|
||||
|
||||
// Has to be called after the host id has potentially changed
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue