You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/01/21 19:59:27 UTC

[GitHub] [solr] anshumg commented on a change in pull request #554: SOLR-15918 Avoid repetitive creating parent znodes

anshumg commented on a change in pull request #554:
URL: https://github.com/apache/solr/pull/554#discussion_r789957037



##########
File path: solr/solrj/src/java/org/apache/solr/common/cloud/SolrZkClient.java
##########
@@ -543,6 +543,9 @@ public void makePath(String path, byte[] data, CreateMode createMode,
           throw e;
         }
       } catch (NodeExistsException e) {
+        if (log.isDebugEnabled()) {

Review comment:
       You can skip this check here, as this is parameterized and doing any string ops




-- 
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: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org