Skip to content

Commit

Permalink
BUG FIX: set target file size multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
yehaolan committed Aug 7, 2024
1 parent f9c3241 commit 2598619
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static void setCompactionOptions(Config storeConfig, Options options) {
}

if (storeConfig.containsKey(ROCKSDB_COMPACTION_TARGET_FILE_SIZE_MULTIPLIER)) {
options.setTargetFileSizeBase(storeConfig.getLong(ROCKSDB_COMPACTION_TARGET_FILE_SIZE_MULTIPLIER));
options.setTargetFileSizeMultiplier(storeConfig.getInt(ROCKSDB_COMPACTION_TARGET_FILE_SIZE_MULTIPLIER));
}

if (storeConfig.containsKey(ROCKSDB_MAX_BACKGROUND_JOBS)) {
Expand Down

0 comments on commit 2598619

Please sign in to comment.