mirror of https://github.com/apache/lucene.git
replication future safety - only decrement search holder if not null
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@829682 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b84fb40cf
commit
56a021bca9
|
@ -851,7 +851,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
|
|||
} catch (IOException e) {
|
||||
LOG.warn("Unable to get IndexCommit on startup", e);
|
||||
} finally {
|
||||
s.decref();
|
||||
if (s!=null) s.decref();
|
||||
}
|
||||
}
|
||||
String reserve = (String) master.get(RESERVE);
|
||||
|
|
Loading…
Reference in New Issue