Skip to content

Commit

Permalink
CNDB-10856 Change the default of max_sstables_to_compact to 32 (#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli authored Sep 17, 2024
1 parent 437795a commit b7def63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ public static Controller fromOptions(CompactionRealm realm, Map<String, String>
double maxSpaceOverhead = options.containsKey(MAX_SPACE_OVERHEAD_OPTION)
? FBUtilities.parsePercent(options.get(MAX_SPACE_OVERHEAD_OPTION))
: DEFAULT_MAX_SPACE_OVERHEAD;
int maxSSTablesToCompact = Integer.parseInt(options.getOrDefault(MAX_SSTABLES_TO_COMPACT_OPTION, "256"));
int maxSSTablesToCompact = Integer.parseInt(options.getOrDefault(MAX_SSTABLES_TO_COMPACT_OPTION, "32"));
long expiredSSTableCheckFrequency = options.containsKey(EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS_OPTION)
? Long.parseLong(options.get(EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS_OPTION))
: DEFAULT_EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS;
Expand Down

0 comments on commit b7def63

Please sign in to comment.