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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.3.1
    • Component/s: SolrCloud
    • Labels:
      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: