From 5ed5298409577129cc071c49d86605bbc8c739cd Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Thu, 24 Aug 2023 18:56:49 +0200 Subject: [PATCH] (converter) Update confusing state description SWAP_LEXICON doesn't instruct the index service to do anything. It just moves the file. --- .../nu/marginalia/control/actor/task/ConvertAndLoadActor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/services-core/control-service/src/main/java/nu/marginalia/control/actor/task/ConvertAndLoadActor.java b/code/services-core/control-service/src/main/java/nu/marginalia/control/actor/task/ConvertAndLoadActor.java index e11b0cd2..e0ad6979 100644 --- a/code/services-core/control-service/src/main/java/nu/marginalia/control/actor/task/ConvertAndLoadActor.java +++ b/code/services-core/control-service/src/main/java/nu/marginalia/control/actor/task/ConvertAndLoadActor.java @@ -199,7 +199,7 @@ public class ConvertAndLoadActor extends AbstractActorPrototype { resume = ActorResumeBehavior.RETRY, description = """ Move the lexicon from the LEXICON_STAGING area to the LEXICON_LIVE area, - then instruct the index-service to reload the lexicon. + so that the index service can load it after repartitioning. """ ) public void swapLexicon(Message message) throws Exception {