Erick Erickson created SOLR-15035:
-------------------------------------
Summary: core.properties different when using ADDREPLICA .vs. when
the replica created with CREATE
Key: SOLR-15035
URL: https://issues.apache.org/jira/browse/SOLR-15035
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Affects Versions: 8.7
Reporter: Erick Erickson
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
{color:#000000}TestCollectionAPI {color} 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]