dsmiley commented on code in PR #2607:
URL: https://github.com/apache/solr/pull/2607#discussion_r1701823507
##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -2056,7 +2056,7 @@ public void reload(String name, UUID coreId) {
newCore = core.reload(coreConfig);
DocCollection docCollection = null;
- if (getZkController() != null) {
+ if (getZkController() != null && !newCore.isSynthetic()) {
docCollection =
getZkController().getClusterState().getCollection(cd.getCollectionName());
// turn off indexing now, before the new core is registered
if (docCollection.getBool(ZkStateReader.READ_ONLY, false)) {
Review Comment:
I'm good with this.
--
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]