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

Fix stale commit files' size computation in LukeRequestHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.5
    • 5.5.1, 6.0
    • Server
    • None

    Description

      SOLR-8587 added segments file information and its size to core admin status API. However in case of stale commits, calling that API may result on FileNotFoundException or NoSuchFileException, if the segments file no longer exists due to a new commit. We should fix that by returning a proper value for the file's length in this case, maybe -1.

      Attachments

        1. SOLR-8793.patch
          2 kB
          Shai Erera

        Issue Links

          Activity

            People

              shaie Shai Erera
              shaie Shai Erera
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: