mirror of https://github.com/apache/lucene.git
check shutdown for early termination in 'wait for state'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426840 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dbd1d94004
commit
88ce4ab029
|
@ -941,6 +941,11 @@ public class CoreAdminHandler extends RequestHandlerBase {
|
|||
+ state + " live:" + live);
|
||||
}
|
||||
|
||||
if (coreContainer.isShutDown()) {
|
||||
throw new SolrException(ErrorCode.BAD_REQUEST,
|
||||
"Solr is shutting down");
|
||||
}
|
||||
|
||||
// solrcloud_debug
|
||||
// try {;
|
||||
// LocalSolrQueryRequest r = new LocalSolrQueryRequest(core, new
|
||||
|
|
Loading…
Reference in New Issue