You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ishan Chattopadhyaya (Jira)" <ji...@apache.org> on 2020/04/29 19:06:00 UTC
[jira] [Created] (SOLR-14446) Upload configset should use
ZkClient.multi()
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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org