nick-boss-tech commented on code in PR #5370:
URL: https://github.com/apache/solr/pull/5370#discussion_r4656426285
##########
solr/core/src/java/org/apache/solr/core/ConfigSetService.java:
##########
@@ -156,6 +157,20 @@ private void bootstrapConfDir(String confDir) throws
IOException {
this.uploadConfig(confName, configPath);
}
+ private void bootstrapMultilingualConf() throws IOException {
+ if (checkConfigExists(ConfigSetsHandler.MULTILINGUAL_CONFIGSET_NAME)) {
+ return;
Review Comment:
🤖 *AI text below* 🤖
The upload creates the configset znode before it writes all of the files. If
the upload stops partway through, later starts see the znode and skip the
upload, leaving an incomplete `_multilingual` configset. Another node can also
see it before the upload finishes. Could bootstrap distinguish a complete
upload from one still in progress or interrupted? I see that `_default` follows
a similar path, so this may need a shared fix.
--
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]