You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by 1522748243 <gi...@git.apache.org> on 2018/01/19 06:20:55 UTC

[GitHub] lucene-solr pull request #309: Update ZkConfigManager.java

GitHub user 1522748243 opened a pull request:

    https://github.com/apache/lucene-solr/pull/309

    Update ZkConfigManager.java

    fix copyConfigDir(String fromConfig, String toConfig)
    When i call copyConfigDir(String fromConfig, String toConfig),the 'CONFIGS_ZKNODE + "/"' will be appended to parameter twice.Once in copyConfigDir(String fromConfig, String toConfig),once in copyConfigDir(String fromConfig, String toConfig, Set<String> copiedToZkPaths).
    Then the 'fromZkPath' will become likes this:"/configs//configs/conf0",which cause a "empty node name" exception

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/1522748243/lucene-solr master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/309.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #309
    
----
commit 785349999177de9be7154c4ab1b58def1e2fd41f
Author: 黄永生 <ys...@...>
Date:   2018-01-19T06:10:06Z

    Update ZkConfigManager.java
    
    fix copyConfigDir(String fromConfig, String toConfig)

----


---

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