0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00

ircd::db: Reverse the compaction priority strategy.

This commit is contained in:
Jason Volk 2018-10-18 16:34:11 -07:00
parent c31b29307b
commit f9fca347d8

View file

@ -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;