Skip to content

Commit e91ebf1

Browse files
author
Lei Jin
committed
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
1 parent 5a5953b commit e91ebf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

util/options.cc

+2
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ void ColumnFamilyOptions::Dump(Logger* log) const {
318318
Log(log, " Options.comparator: %s", comparator->Name());
319319
Log(log, " Options.merge_operator: %s",
320320
merge_operator ? merge_operator->Name() : "None");
321+
Log(log, " Options.compaction_filter: %s",
322+
compaction_filter ? compaction_filter->Name() : "None");
321323
Log(log, " Options.compaction_filter_factory: %s",
322324
compaction_filter_factory->Name());
323325
Log(log, " Options.compaction_filter_factory_v2: %s",

0 commit comments

Comments
 (0)