mirror of https://github.com/apache/lucene.git
SOLR-12464: Reduce Overseer.close() logging (for non-Overseer leaders)
This commit is contained in:
parent
8093c450c1
commit
f7aed28760
|
@ -183,6 +183,8 @@ Other Changes
|
|||
|
||||
* SOLR-12551: Upgrade to Tika 1.18 (Tim Allison via Erick Erickson)
|
||||
|
||||
* SOLR-12464: Reduce Overseer.close() logging (for non-Overseer leaders) (Christine Poerschke)
|
||||
|
||||
================== 7.4.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
||||
|
|
|
@ -544,7 +544,9 @@ public class Overseer implements SolrCloseable {
|
|||
updaterThread.start();
|
||||
ccThread.start();
|
||||
triggerThread.start();
|
||||
assert ObjectReleaseTracker.track(this);
|
||||
if (this.id != null) {
|
||||
assert ObjectReleaseTracker.track(this);
|
||||
}
|
||||
}
|
||||
|
||||
public Stats getStats() {
|
||||
|
@ -584,11 +586,15 @@ public class Overseer implements SolrCloseable {
|
|||
|
||||
public synchronized void close() {
|
||||
if (closed) return;
|
||||
log.info("Overseer (id=" + id + ") closing");
|
||||
if (this.id != null) {
|
||||
log.info("Overseer (id=" + id + ") closing");
|
||||
}
|
||||
|
||||
doClose();
|
||||
this.closed = true;
|
||||
assert ObjectReleaseTracker.release(this);
|
||||
if (this.id != null) {
|
||||
assert ObjectReleaseTracker.release(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue