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

Take care not to accidentally swallow OOMErrors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.3
    • Fix Version/s: 5.4, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      This was first noticed with 4.10.3, but it looks like it still applies to trunk. There are a few places in the code where we catch Throwable and then don't check for OOM or rethrow it. This behaviour means that OOM kill scripts won't run, and the JVM can get into an undesirable state.

        Attachments

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: