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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10, 6.0
    • 4.10.1, 6.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: