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

Add segments file information to core admin status

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Having the index's segments file name returned by CoreAdminHandler STATUS can be useful. The info I'm thinking about is the segments file name and its size. If you record that from time to time, in a case of crisis, when u need to restore the index and may not be sure which copy you need to restore, this tiny piece of info can be very useful, as the segmentsN file records the commit point, and therefore what you core reported and what you see at hand can help you make a safer decision.

      I also think it's useful info in general, e.g. probably even more than 'version', and it doesn't add much complexity to the handler or the response.

        Attachments

        1. SOLR-8587.patch
          2 kB
          Shai Erera
        2. SOLR-8587.patch
          3 kB
          Shai Erera

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: