mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::db: Supply an insertion hint prefix extractor.
This commit is contained in:
parent
8e9a4b0d3b
commit
8b27f7089d
1 changed files with 4 additions and 0 deletions
|
@ -1430,6 +1430,10 @@ ircd::db::database::column::column(database *const &d,
|
|||
&this->prefix, [](const rocksdb::SliceTransform *) {}
|
||||
};
|
||||
|
||||
// Set the insert hint prefix extractor
|
||||
if(this->options.prefix_extractor)
|
||||
this->options.memtable_insert_with_hint_prefix_extractor = this->options.prefix_extractor;
|
||||
|
||||
// Set the compaction filter
|
||||
this->options.compaction_filter = &this->cfilter;
|
||||
|
||||
|
|
Loading…
Reference in a new issue