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

bin/solr -c doesn't set numShards for collection1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10, 6.0
    • Fix Version/s: 4.10.1, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      bin/solr -c will start Solr in cloud mode. Since collection1 includes a core.properties, it will be auto-discovered and created into a collection. So the script uses:

      -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf

      However, it's not setting -DnumShards for collection1, which results in collection1 being created using the implicit router and a null range. While we have this collection1 being auto-deployed, the script should set numShards as well so that collection1 is created correctly.

        Attachments

          Activity

            People

            • Assignee:
              thelabdude Timothy Potter
              Reporter:
              thelabdude Timothy Potter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: