You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2024/11/01 22:34:32 UTC

(solr) branch main updated: SOLR-16116: Catch IllegalStateException in OverseerTaskProcessor

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d482b2ad4a SOLR-16116: Catch IllegalStateException in OverseerTaskProcessor
4d482b2ad4a is described below

commit 4d482b2ad4a1815cffd4c9d38f7000e7a5c994c7
Author: Houston Putman <ho...@apache.org>
AuthorDate: Fri Nov 1 17:34:22 2024 -0500

    SOLR-16116: Catch IllegalStateException in OverseerTaskProcessor
---
 solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
index b63afbcf0c4..b56ed04f0f9 100644
--- a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
+++ b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
@@ -497,6 +497,8 @@ public class OverseerTaskProcessor implements Runnable, Closeable {
       } else {
         log.debug("", e);
       }
+    } catch (IllegalStateException e) {
+      success = false;
     } catch (InterruptedException e) {
       success = false;
       Thread.currentThread().interrupt();