dcapwell commented on code in PR #3474:
URL: https://github.com/apache/cassandra/pull/3474#discussion_r1723589826
##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -271,6 +274,42 @@ public static void daemonInitialization(Supplier<Config>
config) throws Configur
AuthConfig.applyAuth();
}
+ public static void unsafeDaemonInitialization(Supplier<Config> config)
throws ConfigurationException
+ {
+ if (toolInitialized)
+ throw new AssertionError("toolInitialization() already called");
+ if (clientInitialized)
+ throw new AssertionError("clientInitialization() already called");
Review Comment:
added `assertNotDaemonInitialized` as well
--
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]