You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2020/07/16 22:20:00 UTC

[jira] [Created] (SOLR-14657) spurious ERRORs due to race condition between SolrIndexSearcher metrics and IndexReader closing

Chris M. Hostetter created SOLR-14657:
-----------------------------------------

             Summary: spurious ERRORs due to race condition between SolrIndexSearcher metrics and IndexReader closing
                 Key: SOLR-14657
                 URL: https://issues.apache.org/jira/browse/SOLR-14657
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter
            Assignee: Chris M. Hostetter


I've seen situations in the wild where systems monitoring/polling metrics can trigger scary looking - but otherwise benign - ERRORs due to AlreadyClosedExceptions if/when the searcher/reader is in the process of being re-opened and the Gauge tries to call reader.numDocs(), etc...

We should tweak the metrics logic to just ignore these exceptions



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org