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 2025/02/20 18:29:41 UTC
(solr) branch main updated: Fix uncaught AlreadyClosedException in Overseer election
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 46c34a4a66f Fix uncaught AlreadyClosedException in Overseer election
46c34a4a66f is described below
commit 46c34a4a66fe25d67d6a8b66d7061e1b29701f8e
Author: Houston Putman <ho...@apache.org>
AuthorDate: Thu Feb 20 12:29:22 2025 -0600
Fix uncaught AlreadyClosedException in Overseer election
---
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 b56ed04f0f9..f196d804911 100644
--- a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
+++ b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
@@ -502,6 +502,8 @@ public class OverseerTaskProcessor implements Runnable, Closeable {
} catch (InterruptedException e) {
success = false;
Thread.currentThread().interrupt();
+ } catch (AlreadyClosedException ignored) {
+ success = false;
} finally {
timerContext.stop();
if (success) {