Solr
  1. Solr
  2. SOLR-5300

Split shards with custom hash ranges

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, Trunk
    • 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.

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development