epugh commented on code in PR #3904:
URL: https://github.com/apache/solr/pull/3904#discussion_r2673035195
##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -1511,6 +1512,16 @@ public SolrCore create(
preExistingZkEntry =
getZkController().checkIfCoreNodeNameAlreadyExists(cd);
}
+ final boolean deleteUnknownCores =
+
EnvUtils.getPropertyAsBool("solr.cloud.delete.unknown.cores.enabled", false);
+ if (deleteUnknownCores && Files.exists(cd.getInstanceDir())) {
Review Comment:
It took me two tries to understand your point, and then it clicked.... I
made the change, and am running tests and then will push up...
--
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]