diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.cpp index 71b06a403ff..4d854bfdca1 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.cpp @@ -20,7 +20,7 @@ AttributeExecutor::AttributeExecutor(std::shared_ptr<IAttributeManager> mgr, AttributeExecutor::~AttributeExecutor() = default; void -AttributeExecutor::run(std::function<void()> task) const +AttributeExecutor::run_sync(std::function<void()> task) const { vespalib::string name = _attr->getNamePrefix(); auto& writer = _mgr->getAttributeFieldWriter(); diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.h b/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.h index 7573bc7cf0d..4a13fe1d886 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_executor.h @@ -25,7 +25,7 @@ public: AttributeExecutor(std::shared_ptr<IAttributeManager> mgr, std::shared_ptr<search::AttributeVector> attr); ~AttributeExecutor(); - void run(std::function<void()> task) const; + void run_sync(std::function<void()> task) const; const search::AttributeVector& get_attr() const noexcept { return *_attr; } }; diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp index a5e16c256bb..2deabeda797 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp @@ -127,7 +127,7 @@ void AttributeVectorExplorer::get_state(const vespalib::slime::Inserter &inserter, bool full) const { auto& attr = _executor->get_attr(); - _executor->run([this, &attr, &inserter, full] { get_state_helper(attr, inserter, full); }); + _executor->run_sync([this, &attr, &inserter, full] { get_state_helper(attr, inserter, full); }); } void |