From bb128bfec3e620597a4827bfb727de6d083c42ff Mon Sep 17 00:00:00 2001 From: sdong Date: Tue, 13 Jan 2015 16:30:31 -0800 Subject: [PATCH] More accurate message for compaction applied to a different version Test Plan: Compile. Run it. Reviewers: yhchiang, dhruba, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D31479 --- db/version_set.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/version_set.cc b/db/version_set.cc index b206fe5b3..c5956a534 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -2705,8 +2705,9 @@ bool VersionSet::VerifyCompactionFileConsistency(Compaction* c) { Version* version = c->column_family_data()->current(); const VersionStorageInfo* vstorage = version->storage_info(); if (c->input_version() != version) { - Log(InfoLogLevel::ERROR_LEVEL, db_options_->info_log, - "[%s] VerifyCompactionFileConsistency version mismatch", + Log(InfoLogLevel::INFO_LEVEL, db_options_->info_log, + "[%s] compaction output being applied to a different base version from" + " input version", c->column_family_data()->GetName().c_str()); }