mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
Fix signed/unsigned compile
This commit is contained in:
parent
e7960c03ac
commit
0ce38fe983
|
@ -158,7 +158,7 @@ void OptimizeForLevel(int read_amplification_threshold,
|
|||
// Now always set level multiplier to be 10
|
||||
options->max_bytes_for_level_multiplier = kBytesForLevelMultiplier;
|
||||
|
||||
const int kMinFileSize = 2 * kBytesForOneMb;
|
||||
const uint64_t kMinFileSize = 2 * kBytesForOneMb;
|
||||
// Allow at least 3-way parallelism for compaction between level 1 and 2.
|
||||
uint64_t max_file_size = max_bytes_for_level_base / 3;
|
||||
if (max_file_size < kMinFileSize) {
|
||||
|
|
Loading…
Reference in a new issue