From 65fe8d6cd6083dbef73af8ff273fb570236331f6 Mon Sep 17 00:00:00 2001 From: Gihwan Oh Date: Mon, 9 Apr 2018 13:36:23 -0700 Subject: [PATCH] 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 --- db/compaction_job.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/compaction_job.cc b/db/compaction_job.cc index a9a7f106a..310b5df53 100644 --- a/db/compaction_job.cc +++ b/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) {