thisteensy opened a new pull request, #4662:
URL: https://github.com/apache/cassandra/pull/4662

   ```
   ## CASSANDRA-21196: Include tools in applyCompatibilityMode check
   
   ### Problem
   The `applyCompatibilityMode()` method only checked `isClientInitialized()` 
   when setting `StorageCompatibilityMode.NONE`, despite the comment stating 
   "tools or clients should not limit the sstable formats they support." 
   Tools were inadvertently falling through to the `else if` branch and 
   potentially having their sstable format support restricted.
   
   ### Solution
   Added `isToolInitialized()` to the condition so tools correctly receive 
   `StorageCompatibilityMode.NONE`, consistent with the existing behavior 
   for clients.
   
   patch by Tina Haiser; reviewed by <Reviewers> for CASSANDRA-21196
   
   ```
   
   The [Cassandra 
Jira](https://issues.apache.org/jira/projects/CASSANDRA/issues/)
   
   


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