diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2021-02-01 15:51:49 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2021-02-01 16:06:50 +0100 |
commit | e151058a4c2a403546adc944fe4a2d171940fed1 (patch) | |
tree | 3e3241402000f7a67383919483e601e82252b3a5 /searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp | |
parent | 06cb101c01b422011d8875cd174490a2cfb35cea (diff) |
Wire in config for compaction strategy.
Diffstat (limited to 'searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp b/searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp index d25a234c6f8..d07c25c2a9e 100644 --- a/searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp +++ b/searchcore/src/tests/proton/attribute/attribute_manager/attribute_manager_test.cpp @@ -234,6 +234,7 @@ struct ParallelAttributeManager DocumentMetaStore::SP documentMetaStore; search::GrowStrategy attributeGrow; size_t attributeGrowNumDocs; + search::CompactionStrategy attribute_compaction_strategy; bool fastAccessAttributesOnly; std::shared_ptr<AttributeManager::SP> mgr; vespalib::ThreadStackExecutor masterExecutor; @@ -252,13 +253,14 @@ ParallelAttributeManager::ParallelAttributeManager(search::SerialNum configSeria documentMetaStore(std::make_shared<DocumentMetaStore>(bucketDbOwner)), attributeGrow(), attributeGrowNumDocs(1), + attribute_compaction_strategy(), fastAccessAttributesOnly(false), mgr(std::make_shared<AttributeManager::SP>()), masterExecutor(1, 128 * 1024), master(masterExecutor), initializer(std::make_shared<AttributeManagerInitializer>(configSerialNum, documentMetaStoreInitTask, documentMetaStore, baseAttrMgr, attrCfg, - attributeGrow, attributeGrowNumDocs, + attributeGrow, attributeGrowNumDocs, attribute_compaction_strategy, fastAccessAttributesOnly, master, mgr)) { documentMetaStore->setCommittedDocIdLimit(docIdLimit); |