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

Split shards with custom hash ranges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • SolrCloud
    • 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-cover-shardrange.patch
          5 kB
          Shalin Shekhar Mangar
        2. SOLR-5300.patch
          11 kB
          Shalin Shekhar Mangar
        3. SOLR-5300.patch
          12 kB
          Shalin Shekhar Mangar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: