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
main
Gihwan Oh 7 years ago committed by Facebook Github Bot
parent 1c27cbfbd1
commit 65fe8d6cd6
  1. 2
      db/compaction_job.cc

@ -1244,7 +1244,7 @@ Status CompactionJob::InstallCompactionResults(
compaction->InputLevelSummary(&inputs_summary), compact_->total_bytes);
}
// Add compaction outputs
// Add compaction inputs
compaction->AddInputDeletions(compact_->compaction->edit());
for (const auto& sub_compact : compact_->sub_compact_states) {

Loading…
Cancel
Save