mirror of
https://github.com/matrix-construct/construct
synced 2025-04-10 20:13:24 +02:00
ircd::db: Reverse the compaction priority strategy.
This commit is contained in:
parent
c31b29307b
commit
f9fca347d8
1 changed files with 1 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ ircd::db::database::column::column(database *const &d,
|
||||||
|
|
||||||
// Set the compaction priority; this should probably be in the descriptor
|
// Set the compaction priority; this should probably be in the descriptor
|
||||||
// but this is currently selected for the general matrix workload.
|
// 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.
|
// 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;
|
this->options.optimize_filters_for_hits = this->descriptor.expect_queries_hit;
|
||||||
|
|
Loading…
Add table
Reference in a new issue