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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.7, master (9.0)
    • Component/s: None
    • Labels:
      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

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: