Hi Erick, In Solr 6.x legacyCloud defaults to true In Solr 7.x legacyCloud defaults to false ( ZK as truth as per https://issues.apache.org/jira/browse/SOLR-8256 )
On Mon, Oct 16, 2017 at 5:29 PM, Erick Erickson <[email protected]> wrote: > Check me out to see if I'm hallucinating.... > > Create a collection with 6x _without_ changing legacyCloud (i.e. it > defaults to "false). > Try opening it with 7x > BOOOM > > I'm seeing: > Caused by: org.apache.solr.common.SolrException: No coreNodeName for > CoreDescriptor[name=eoe_shard1_replica1;instanceDir=/ > Users/Erick/apache/solrJiras/branch_7x/solr/example/cloud/ > node1/solr/eoe_shard1_replica1] > > The problem is that legacyCloud now defaults to true, and 6x does > _not_ save coreNodeName to core.properties files. However, > ZkController.checkStateInZk requires that coreNodeName be non-null and > it's read from core.properties. > > I get the exact same behavior when I create a collection in 6x then > change legacyCloud to false and restart 6x Solr. > > I don't think this should hold up 7.1 because of the issue from last > week, people affected by this can set legacyCloud=true to get by. > > Or I need to see an eye doctor. > > Raise a JIRA? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
