Skip to content

Commit 4d482b2

Browse files
committed
SOLR-16116: Catch IllegalStateException in OverseerTaskProcessor
1 parent 0f8decd commit 4d482b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ protected LeaderStatus amILeader() {
497497
} else {
498498
log.debug("", e);
499499
}
500+
} catch (IllegalStateException e) {
501+
success = false;
500502
} catch (InterruptedException e) {
501503
success = false;
502504
Thread.currentThread().interrupt();

0 commit comments

Comments
 (0)