aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-06-24 08:08:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-06-24 08:08:53 +0000
commit732ba0300a2eba3f9cbe821d8535ed3152b3f46f (patch)
tree34725e649f4a71e4b8107e1b02f341b0c71126e7 /searchcorespi
parent0beb995a14e08f737d23740ad0939fee11e4d029 (diff)
Various cleanup after reading indexing threading code
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
index 5b16c6f9235..addce510e63 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
+++ b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h
@@ -53,6 +53,9 @@ namespace searchcorespi::index {
* tasks to the index field writer executor, so draining logic needs
* to sync index field inverter executor before syncing index field
* writer executor.
+ *
+ * TODO: * indexFieldWriter and indexFieldWriter can be collapsed to one. Both need sequencing,
+ * but they sequence on different things so efficiency will be the same and just depends on #threads
*/
struct IThreadingService : public vespalib::Syncable
{