From e91ebf1399841b06c9c37a6371c11d064cc2a2dc Mon Sep 17 00:00:00 2001 From: Lei Jin Date: Wed, 13 Aug 2014 15:58:31 -0700 Subject: [PATCH] print compaction_filter name in Options.Dump Summary: Was looking at an issue. All options are the same except compaction_filter was missed from a newer package. Our option dump does not capture that Test Plan: make release Reviewers: sdong, igor, yhchiang Reviewed By: yhchiang Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D21765 --- util/options.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/options.cc b/util/options.cc index 89061b97f..b76c66037 100644 --- a/util/options.cc +++ b/util/options.cc @@ -318,6 +318,8 @@ void ColumnFamilyOptions::Dump(Logger* log) const { Log(log, " Options.comparator: %s", comparator->Name()); Log(log, " Options.merge_operator: %s", merge_operator ? merge_operator->Name() : "None"); + Log(log, " Options.compaction_filter: %s", + compaction_filter ? compaction_filter->Name() : "None"); Log(log, " Options.compaction_filter_factory: %s", compaction_filter_factory->Name()); Log(log, " Options.compaction_filter_factory_v2: %s",