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

Provide extended per-segment status of a collection

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.0, 9.0
    • 8.1, 9.0
    • None
    • 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. adminSegments.json
          14 kB
          Andrzej Bialecki
        2. adminSegments.json
          7 kB
          Andrzej Bialecki
        3. colstatus.json
          43 kB
          Andrzej Bialecki
        4. colstatus.json
          19 kB
          Andrzej Bialecki
        5. SOLR-13292.patch
          38 kB
          Andrzej Bialecki
        6. SOLR-13292.patch
          34 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: