ifesdjeen commented on code in PR #3045:
URL: https://github.com/apache/cassandra/pull/3045#discussion_r1474461602
##########
src/java/org/apache/cassandra/tcm/Startup.java:
##########
@@ -298,25 +294,20 @@ public static void reinitializeWithClusterMetadata(String
fileName, Function<Pro
if (!metadata.isCMSMember(FBUtilities.getBroadcastAddressAndPort()))
throw new IllegalStateException("When reinitializing with cluster
metadata, we must be in the CMS");
+
// can use local dc here since we know local host in the cms:
- ClusterMetadata emptyFromSystemTables =
emptyWithSchemaFromSystemTables(Collections.singleton(DatabaseDescriptor.getLocalDataCenter()));
- metadata.schema.initializeKeyspaceInstances(DistributedSchema.empty());
- metadata = metadata.forceEpoch(metadata.epoch.nextEpoch());
Review Comment:
You are right; i think I have removed this together with
`metadata.schema.initializeKeyspaceInstances` by mistake.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]