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

Fix stale commit files' size computation in LukeRequestHandler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.5.1, 6.0
    • Component/s: Server
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                shaie Shai Erera
                Reporter:
                shaie Shai Erera
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: