You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/05/15 17:14:02 UTC

[jira] [Resolved] (SOLR-7541) CollectionsHandler#createNodeIfNotExists is a duplicate of ZkCmdExecutor#ensureExists

     [ https://issues.apache.org/jira/browse/SOLR-7541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker resolved SOLR-7541.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 5.2
                   Trunk
         Assignee: Varun Thacker

> CollectionsHandler#createNodeIfNotExists is a duplicate of ZkCmdExecutor#ensureExists
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-7541
>                 URL: https://issues.apache.org/jira/browse/SOLR-7541
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>            Priority: Minor
>             Fix For: Trunk, 5.2
>
>         Attachments: SOLR-7541.patch, SOLR-7541.patch
>
>
> Looks like CollectionsHandler#createNodeIfNotExists is a duplicate of ZkCmdExecutor#ensureExists . Both do the same thing so we could remove CollectionsHandler#createNodeIfNotExists.
> Also looking at {{ZkCmdExecutor#ensureExists(final String path, final byte[] data,CreateMode createMode, final SolrZkClient zkClient)}} the createMode parameter is getting discarded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org