mirror of https://github.com/apache/lucene.git
SOLR-9846: Don't run Overseer threads if CoreContainer is shutdown.
This commit is contained in:
parent
7e30fe1471
commit
b30b6c58f7
|
@ -744,8 +744,9 @@ final class OverseerElectionContext extends ElectionContext {
|
|||
log.warn("Wait interrupted ", e);
|
||||
}
|
||||
}
|
||||
|
||||
overseer.start(id);
|
||||
if (overseer.getZkController() == null || overseer.getZkController().getCoreContainer() == null || !overseer.getZkController().getCoreContainer().isShutDown()) {
|
||||
overseer.start(id);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue