Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8938

add optional --excluderegex argument to ZkCLI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6, 6.1, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      Add optional --excluderegex argument to 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.

        Attachments

        1. SOLR-8938-part2.patch
          2 kB
          Christine Poerschke
        2. SOLR-8938.patch
          10 kB
          Christine Poerschke

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: