Ishan Chattopadhyaya created SOLR-14446:
-------------------------------------------
Summary: Upload configset should use ZkClient.multi()
Key: SOLR-14446
URL: https://issues.apache.org/jira/browse/SOLR-14446
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Ishan Chattopadhyaya
Based on a private discussion with [~dsmiley] and [~dragonsinth] for
SOLR-14425, it occurred to me that our configset upload is a loop over all
files in a configset and individual writes.
[https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/handler/admin/ConfigSetsHandler.java#L184]
It might make sense to use ZkClient.multi() here so that collection creation
doesn't need to guess whether all files of the configset made it into the ZK or
not (they will either all be there, or none at all).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]