From 732ba0300a2eba3f9cbe821d8535ed3152b3f46f Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 24 Jun 2021 08:08:53 +0000 Subject: Various cleanup after reading indexing threading code --- searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searchcorespi') 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 { -- cgit v1.2.3