Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14657

spurious ERRORs due to race condition between SolrIndexSearcher metrics and IndexReader closing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.7, 9.0
    • None
    • None

    Description

      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

      Attachments

        1. SOLR-14657.patch
          4 kB
          Chris M. Hostetter
        2. SOLR-14657.patch
          4 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: