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

Split shards with custom hash ranges

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Currently, shards can only be split at the mid point of their hash range. This makes it difficult to control the distribution of data in the sub shards.

      We should make it possible to specify ranges to be used for splitting. A ranges parameter can be added which can accept hash ranges in hexadecimal e.g. ranges=0-1f4,1f5-3e8,3e9-5dc will split a shard with range 0-1500 into three shards with ranges [0,500], [501-1000] and [1001-1500] respectively.

        Attachments

        1. SOLR-5300.patch
          12 kB
          Shalin Shekhar Mangar
        2. SOLR-5300.patch
          11 kB
          Shalin Shekhar Mangar
        3. SOLR-5300-cover-shardrange.patch
          5 kB
          Shalin Shekhar Mangar

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: