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

core.properties different when using ADDREPLICA .vs. when the replica created with CREATE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.7
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      I verified this after seeing it on the user's list. Here are the core.properties files:

      Note that numShards is missing from the replica created with ADDREPLICA.

      If anyone picks this up, we there are lots of places in TestCollectionAPI  that add a replica that could reach out to the core.properties files and check.

      What's not clear to me is whether numShards should be in core.properties, but whether or not that's the case, we should be consistent.

       

      -----Core created via CREATE

      #Written by CorePropertiesLocator
      #Tue Dec 08 14:01:13 UTC 2020
      coreNodeName=core_node3
      collection.configName=_default
      name=blivet_shard1_replica_n1
      numShards=2
      shard=shard1
      collection=blivet
      replicaType=NRT
      [branch_8x] ~/apache/solr/solrtest8/solr/example/cloud/node1/solr$ cat blivet_shard1_replica_n5/core.properties

       

      -----Core created via ADDREPLICA
      #Written by CorePropertiesLocator
      #Tue Dec 08 14:01:20 UTC 2020
      coreNodeName=core_node6
      collection.configName=_default
      name=blivet_shard1_replica_n5
      shard=shard1
      collection=blivet
      replicaType=NRT

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: