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

Sub shards have wrong hash range in cluster state except when using PlainIdRouter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3
    • 4.3.1
    • SolrCloud
    • None

    Description

      The overseer collection processor always uses PlainIdRouter to partition the hash range. However, some router implementations (most notably CompositeIdRouter) can provide a different implementation to partition hash ranges. So there can be a mismatch between the hash ranges which are persisted in clusterstate.xml for sub shards and the actual index which is split using the collection's configured router impl.

      This bug does not affect collections using PlainIdRouter.

      The overseer collection processor should always use the collection's configured router to partition ranges.

      Attachments

        1. SOLR-4797.patch
          12 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: