Temporarily disable compactfiles
This commit is contained in:
parent
1bd3b8a945
commit
f854ce1253
@ -568,9 +568,9 @@ public class LLLocalKeyValueDatabase implements LLKeyValueDatabase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bottommostLevel = Math.max(bottommostLevel, databaseOptions.defaultColumnOptions().levels().size() - 1);
|
bottommostLevel = Math.max(bottommostLevel, databaseOptions.defaultColumnOptions().levels().size() - 1);
|
||||||
if (!files.isEmpty() && bottommostLevel != -1) {
|
/*if (!files.isEmpty() && bottommostLevel != -1) {
|
||||||
db.compactFiles(co, cfh, files, bottommostLevel, volumeId, null);
|
db.compactFiles(co, cfh, files, bottommostLevel, volumeId, null);
|
||||||
}
|
}*/
|
||||||
try (var co2 = new CompactRangeOptions()
|
try (var co2 = new CompactRangeOptions()
|
||||||
.setAllowWriteStall(true)
|
.setAllowWriteStall(true)
|
||||||
.setChangeLevel(true)
|
.setChangeLevel(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user