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

Rule-based Replica Placement not working correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 6.5.1
    • None
    • Rules, SolrCloud
    • None

    Description

      A setup of a SolrCloud with 6 nodes on 3 server e.g.:

      server1:8983 , server1:7574
      server2:8983 , server2:7574
      server3:8983 , server3:7574
      

      and a command for creating a new collection with rule:

      http://localhost:8983/solr/admin/collections?action=CREATE&name=boss&
      collection.configName=boss_configs&numShards=3&replicationFactor=2&
      maxShardsPerNode=1&rule=shard:shard1,replica:<2,port:8983
      

      should create a collection with 3 shards and least a shard1 with two different nodes running on port 8983.

      shard1 --> server_x:8983 ,  server_y:8983
      

      A even more restrictive rule like

      rule=shard:shard1,replica:<2,port:8983&rule=shard:shard3,replica:<2,port:7574
      

      should also resolve to a solution because if it really checks all permutations accross shards/replicas/ports and available nodes it should be able to solve this.

      Attachments

        1. SOLR-10733.patch
          2 kB
          Bernd Fehling
        2. SOLR-10733.patch
          4 kB
          Bernd Fehling
        3. SOLR-10733.patch
          4 kB
          Bernd Fehling

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              befehl Bernd Fehling
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: