lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Wimmer (JIRA)" <>
Subject [jira] [Created] (SOLR-11476) Solr seems to ignore replica placement rules
Date Thu, 12 Oct 2017 12:13:00 GMT
Franz Wimmer created SOLR-11476:

             Summary: Solr seems to ignore replica placement rules
                 Key: SOLR-11476
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: v2 API
    Affects Versions: 7.0.1, 7.0, 6.6.1
            Reporter: Franz Wimmer

I'm running Solr Cloud in OpenShift. I have set up 5 pods across the cluster, each running
one solr node. The instances are managed by a ZooKeeper ensemble.

In Solr 6.1, when I created a collection with 5 shards and a replicationFactor of 2, it would
distribute all 10 replicas evenly on the nodes. With Solr 6.6 and 7.0, the distribution is
random (why would I even want to gather many shards on one node and leave another node empty?).

I tried using "Rule-based Replica Placement", but my rules seem to be ignored. I tried:


In all three cases, shards are distributed unevenly, often leaving one node completely empty.

What seems odd is, when i try a replicationFactor of 1, it still doesn't work, but the API
response is suggesting otherwise:


Other than the returned JSON, the collection looks like this: !!

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message