Solr
  1. Solr
  2. SOLR-4321

SolrCloud collection CREATE will put multiple master shards on a single node (and no shards on some)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2, Trunk
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      This is best described by a photo of my SolrCloud admin: http://i.imgur.com/hW4xnxy.png

      I have a 4 node cluster, with shard count of 2 and replication factor of 2.

      After running something like,

      http://localhost:8983/solr/admin/collections?action=CREATE&name=15724&numShards=2&replicationFactor=2

      The shards seem to be completely randomly placed, which is fine, but some nodes receive more of the share than others (some even receiving none).

      For example, 15724 has given node "backfill-1d" 2 "parts", 15724_shard1_replica2 and 15724_shard2_replica1 but has given "backfill-2d" nothing at all.

      This creates unnecessary load on some nodes, no? Is this something I am supposed to handle myself (I looked, but don't see how).

      1. SOLR-4321.patch
        4 kB
        Mark Miller
      2. SOLR-4321.patch
        1 kB
        Eric Falcao
      3. SOLR-4321.patch
        1 kB
        Eric Falcao

        Activity

        Brett Hoerner created issue -
        Eric Falcao made changes -
        Field Original Value New Value
        Attachment SOLR-4321.patch [ 12565661 ]
        Eric Falcao made changes -
        Attachment SOLR-4321.patch [ 12565661 ]
        Eric Falcao made changes -
        Attachment SOLR-4321.patch [ 12565662 ]
        Eric Falcao made changes -
        Attachment SOLR-4321.patch [ 12565710 ]
        Mark Miller made changes -
        Assignee Mark Miller [ markrmiller@gmail.com ]
        Mark Miller made changes -
        Attachment SOLR-4321.patch [ 12565973 ]
        Mark Miller made changes -
        Fix Version/s 4.2 [ 12323893 ]
        Fix Version/s 5.0 [ 12321664 ]
        Mark Miller made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mark Miller
            Reporter:
            Brett Hoerner
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development