Skip to content

Commit dca01cf

Browse files
committed
CASSANDRA-21196: Include tools in applyCompatibilityMode check
1 parent 5519df3 commit dca01cf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
5.1
2+
* Include tools in applyCompatibilityMode to ensure they are not limited in sstable formats they support (CASSANDRA-21196)
23
* Harden the possible range of values for max dictionary size and max total sample size for dictionary training (CASSANDRA-21194)
34
* Implement a guardrail ensuring that minimum training frequency parameter is provided in ZstdDictionaryCompressor (CASSANDRA-21192)
45
* Replace manual referencing with ColumnFamilyStore.selectAndReference when training a dictionary (CASSANDRA-21188)

src/java/org/apache/cassandra/config/DatabaseDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ private static void validateSSTableFormatFactories(Iterable<SSTableFormat.Factor
18961896

18971897
private static void applyCompatibilityMode()
18981898
{
1899-
if (isClientInitialized())
1899+
if (isClientInitialized() || isToolInitialized())
19001900
// tools or clients should not limit the sstable formats they support
19011901
storageCompatibilityMode = StorageCompatibilityMode.NONE;
19021902
else if (conf != null && conf.storage_compatibility_mode != null)

0 commit comments

Comments
 (0)