dsmiley opened a new pull request, #5384: URL: https://github.com/apache/solr/pull/5384
https://issues.apache.org/jira/browse/SOLR-18685 `configSetService` is pluggable in solr.xml, but in SolrCloud only `ZkConfigSetService` worked: it alone filled in `CoreDescriptor.getConfigSet()` from the collection's `configName`. With `FileSystemConfigSetService`, core creation failed with `Can't find resource 'solrconfig.xml' ... '<coreInstanceDir>'`. Use case: ConfigSets shipped in an immutable Docker image instead of ZooKeeper. - `ConfigSetService.loadConfigSet` (all core loads/reloads go through it) resolves a cloud core's configSet name from cluster state when absent. Not persisted to core.properties, so reload re-resolves it (honoring `MODIFYCOLLECTION collection.configName`). An explicitly set name (`SyntheticSolrCore`) is respected. Side benefit: shared-schema caching applies to non-ZK ConfigSets in SolrCloud. - `bootstrapConfigSet` is now a no-op hook; only `ZkConfigSetService` bootstraps `_default` (via `bootstrapDefaultConfigSets()`, available to other implementations). - `ShowFileRequestHandler` (`/admin/file`, Admin UI "Files") dispatched on `isZooKeeperAware()` then cast to `ZkSolrResourceLoader`, throwing a ClassCastException; it now dispatches on the core's resource loader type. Test: new `TestFileSystemConfigSetServiceCloud` (create, index, query, reload); fails without the fix. Follow-up, out of scope: with a file-system ConfigSet in SolrCloud, ConfigSets API mutations only affect the receiving node's disk, so nodes can silently diverge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
