@@ -1097,10 +1097,9 @@ Compaction* UniversalCompactionBuilder::PickCompactionToReduceSortedRuns(
10971097 mutable_cf_options_.default_write_temperature ,
10981098 /* max_subcompactions */ 0 , grandparents,
10991099 /* earliest_snapshot */ std::nullopt ,
1100- /* snapshot_checker */ nullptr ,
1101- /* is manual */ false , /* trim_ts */ " " , score_,
1102- false /* deletion_compaction */ ,
1103- /* l0_files_might_overlap */ true , compaction_reason);
1100+ /* snapshot_checker */ nullptr , compaction_reason,
1101+ /* trim_ts */ " " , score_,
1102+ /* l0_files_might_overlap */ true );
11041103}
11051104
11061105// Look at overall size amplification. If size amplification
@@ -1447,10 +1446,9 @@ Compaction* UniversalCompactionBuilder::PickIncrementalForReduceSizeAmp(
14471446 /* max_subcompactions */ 0 , /* grandparents */ {},
14481447 /* earliest_snapshot */ std::nullopt ,
14491448 /* snapshot_checker */ nullptr ,
1450- /* is manual */ false ,
1451- /* trim_ts */ " " , score_, false /* deletion_compaction */ ,
1452- /* l0_files_might_overlap */ true ,
1453- CompactionReason::kUniversalSizeAmplification );
1449+ CompactionReason::kUniversalSizeAmplification ,
1450+ /* trim_ts */ " " , score_,
1451+ /* l0_files_might_overlap */ true );
14541452}
14551453
14561454// Pick files marked for compaction. Typically, files are marked by
@@ -1600,11 +1598,9 @@ Compaction* UniversalCompactionBuilder::PickDeleteTriggeredCompaction() {
16001598 GetCompressionOptions (mutable_cf_options_, vstorage_, output_level),
16011599 mutable_cf_options_.default_write_temperature ,
16021600 /* max_subcompactions */ 0 , grandparents, earliest_snapshot_,
1603- snapshot_checker_,
1604- /* is manual */ false ,
1605- /* trim_ts */ " " , score_, false /* deletion_compaction */ ,
1606- /* l0_files_might_overlap */ true ,
1607- CompactionReason::kFilesMarkedForCompaction );
1601+ snapshot_checker_, CompactionReason::kFilesMarkedForCompaction ,
1602+ /* trim_ts */ " " , score_,
1603+ /* l0_files_might_overlap */ true );
16081604}
16091605
16101606Compaction* UniversalCompactionBuilder::PickCompactionToOldest (
@@ -1700,10 +1696,9 @@ Compaction* UniversalCompactionBuilder::PickCompactionWithSortedRunRange(
17001696 mutable_cf_options_.default_write_temperature ,
17011697 /* max_subcompactions */ 0 , /* grandparents */ {},
17021698 /* earliest_snapshot */ std::nullopt ,
1703- /* snapshot_checker */ nullptr ,
1704- /* is manual */ false ,
1705- /* trim_ts */ " " , score_, false /* deletion_compaction */ ,
1706- /* l0_files_might_overlap */ true , compaction_reason);
1699+ /* snapshot_checker */ nullptr , compaction_reason,
1700+ /* trim_ts */ " " , score_,
1701+ /* l0_files_might_overlap */ true );
17071702}
17081703
17091704Compaction* UniversalCompactionBuilder::PickPeriodicCompaction () {
0 commit comments