You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/04/04 13:07:25 UTC

[jira] [Created] (SOLR-8938) add optional -excluderegex argument to ZkCLI

Christine Poerschke created SOLR-8938:
-----------------------------------------

             Summary: add optional -excluderegex argument to ZkCLI
                 Key: SOLR-8938
                 URL: https://issues.apache.org/jira/browse/SOLR-8938
             Project: Solr
          Issue Type: Improvement
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke
            Priority: Minor


Add optional {{-excluderegex}} argument to [ZkCLI.java|https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/cloud/ZkCLI.java] class.

This change preserves existing behavior (files whose name starts with a . will not be uploaded to ZK) if the new optional argument is not specified. If an {{-excluderegex}} argument is specified then files matching the regular expression won’t be uploaded to ZK.

Additionally, {{ZkConfigManager.uploadToZK}} now info logs the names of the files that were skipped from uploading to ZK.



--
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