From f9fca347d8ce910299f69231c44cabbb6410101d Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 18 Oct 2018 16:34:11 -0700 Subject: [PATCH] ircd::db: Reverse the compaction priority strategy. --- ircd/db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/db.cc b/ircd/db.cc index 8552a1dad..433d49cd9 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -1487,7 +1487,7 @@ ircd::db::database::column::column(database *const &d, // Set the compaction priority; this should probably be in the descriptor // but this is currently selected for the general matrix workload. - this->options.compaction_pri = rocksdb::CompactionPri::kOldestSmallestSeqFirst; + this->options.compaction_pri = rocksdb::CompactionPri::kOldestLargestSeqFirst; // Set filter reductions for this column. This means we expect a key to exist. this->options.optimize_filters_for_hits = this->descriptor.expect_queries_hit;