tflobbe commented on a change in pull request #1815: URL: https://github.com/apache/lucene-solr/pull/1815#discussion_r483251942
########## File path: solr/core/src/java/org/apache/solr/core/ConfigSetService.java ########## @@ -81,8 +81,7 @@ public final ConfigSet loadConfigSet(CoreDescriptor dcore) { ) ? false: true; SolrConfig solrConfig = createSolrConfig(dcore, coreLoader, trusted); - IndexSchema indexSchema = createIndexSchema(dcore, solrConfig, false); - return new ConfigSet(configSetName(dcore), solrConfig, force -> indexSchema, properties, trusted); + return new ConfigSet(configSetName(dcore), solrConfig, force -> createIndexSchema(dcore, solrConfig, force), properties, trusted); Review comment: Does this mean that every call to `configSet.getIndexSchema()` will create a new schema object (if shared schema is not enabled)? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org