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

Provide extended per-segment status of a collection

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0, master (9.0)
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: None
    • Labels:
      None

      Description

      When changing a collection configuration or schema there may be non-obvious conflicts between existing data and the new configuration or the newly declared schema. A similar situation arises when upgrading Solr to a new version while keeping the existing data.

      Currently the SegmentsInfoRequestHandler provides insufficient information to detect such conflicts. Also, there's no collection-wide command to gather such status from all shard leaders.

      This issue proposes extending the /admin/segments handler to provide more low-level Lucene details about the segments, including potential conflicts between existing segments' data and the current declared schema. It also adds a new COLSTATUS collection command to report an aggregated status from all shards, and optionally for all collections.

        Attachments

        1. SOLR-13292.patch
          34 kB
          Andrzej Bialecki
        2. SOLR-13292.patch
          38 kB
          Andrzej Bialecki
        3. colstatus.json
          19 kB
          Andrzej Bialecki
        4. colstatus.json
          43 kB
          Andrzej Bialecki
        5. adminSegments.json
          7 kB
          Andrzej Bialecki
        6. adminSegments.json
          14 kB
          Andrzej Bialecki

          Activity

            People

            • Assignee:
              ab Andrzej Bialecki
              Reporter:
              ab Andrzej Bialecki
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: