Change a comment
Summary: In this case, we add input files of compaction, not outputs. Closes https://github.com/facebook/rocksdb/pull/3686 Differential Revision: D7556781 Pulled By: ajkr fbshipit-source-id: ae135bb6eda60db8f275a9ba2d21c18aaadef5b7
This commit is contained in:
parent
1c27cbfbd1
commit
65fe8d6cd6
@ -1244,7 +1244,7 @@ Status CompactionJob::InstallCompactionResults(
|
|||||||
compaction->InputLevelSummary(&inputs_summary), compact_->total_bytes);
|
compaction->InputLevelSummary(&inputs_summary), compact_->total_bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add compaction outputs
|
// Add compaction inputs
|
||||||
compaction->AddInputDeletions(compact_->compaction->edit());
|
compaction->AddInputDeletions(compact_->compaction->edit());
|
||||||
|
|
||||||
for (const auto& sub_compact : compact_->sub_compact_states) {
|
for (const auto& sub_compact : compact_->sub_compact_states) {
|
||||||
|
Loading…
Reference in New Issue
Block a user