From d789ce2f41e05ad03d480bfff29b5004013ffd27 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 31 Jul 2017 15:15:02 +0200 Subject: - Use a dedicated thread for writing to summarystore. - Use the attribute threads for doing the expensive applyTo. - Initialize summary flush target in summary thread. - Sync summary thread when syncing attribute threads. --- .../src/vespa/searchcorespi/index/ithreadingservice.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'searchcorespi/src') diff --git a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h index dfd0b208178..65dd8cc1f3f 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h +++ b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h @@ -54,20 +54,11 @@ struct IThreadingService : public vespalib::Syncable IThreadingService() = default; virtual ~IThreadingService() {} - /** - * Returns a reference to the master write thread. - */ virtual IThreadService &master() = 0; - - /** - * Returns a reference to the index write thread. - */ virtual IThreadService &index() = 0; - + virtual IThreadService &summary() = 0; virtual search::ISequencedTaskExecutor &indexFieldInverter() = 0; - virtual search::ISequencedTaskExecutor &indexFieldWriter() = 0; - virtual search::ISequencedTaskExecutor &attributeFieldWriter() = 0; }; -- cgit v1.2.3