driftx commented on code in PR #4662:
URL: https://github.com/apache/cassandra/pull/4662#discussion_r2895718907


##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -1896,7 +1896,7 @@ private static void 
validateSSTableFormatFactories(Iterable<SSTableFormat.Factor
 
     private static void applyCompatibilityMode()
     {
-        if (isClientInitialized())
+        if (isClientInitialized() || isToolInitialized())

Review Comment:
   This is fine but there is a convenience method `isClientOrToolInitialized` 
also.



-- 
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]

Reply via email to