mirror of https://github.com/apache/cassandra
Test failure: org.apache.cassandra.tools.JMXCompatabilityTest
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19060
This commit is contained in:
parent
31a3ff1768
commit
f6ea362d71
|
|
@ -792,7 +792,16 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
|
||||
if (ClusterMetadataService.state() == ClusterMetadataService.State.REMOTE)
|
||||
Gossiper.instance.triggerRoundWithCMS();
|
||||
|
||||
// Has to be called after the host id has potentially changed
|
||||
try
|
||||
{
|
||||
CacheService.instance.counterCache.loadSavedAsync().get();
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
JVMStabilityInspector.inspectThrowable(t);
|
||||
logger.warn("Error loading counter cache", t);
|
||||
}
|
||||
Gossiper.waitToSettle();
|
||||
|
||||
NodeId self;
|
||||
|
|
|
|||
Loading…
Reference in New Issue