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

snappuller fails if login shell on master server is zsh

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: replication (scripts)
    • Labels:
      None
    • Environment:

      zsh

      Description

      snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh. The command

      find $

      {master_data_dir}

      -name snapshot.* -print

      fails with the error

      zsh: no matches found: snapshot.*

      The "*" needs to be blackslash escaped.

      I will attach a patch shortly.

        Activity

        Hide
        billa Bill Au added a comment -

        patch to snappuller to blackslash excape "*" in ssh command to master so that it will work under zsh.

        Show
        billa Bill Au added a comment - patch to snappuller to blackslash excape "*" in ssh command to master so that it will work under zsh.
        Hide
        billa Bill Au added a comment -

        patch committed.

        Show
        billa Bill Au added a comment - patch committed.
        Hide
        hossman Hoss Man added a comment -

        This bug was modified as part of a bulk update using the criteria...

        • Marked ("Resolved" or "Closed") and "Fixed"
        • Had no "Fix Version" versions
        • Was listed in the CHANGES.txt for 1.1

        The Fix Version for all 38 issues found was set to 1.1, email notification
        was suppressed to prevent excessive email.

        For a list of all the issues modified, search jira comments for this
        (hopefully) unique string: 20080415hossman3

        Show
        hossman Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked ("Resolved" or "Closed") and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.1 The Fix Version for all 38 issues found was set to 1.1, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: 20080415hossman3

          People

          • Assignee:
            billa Bill Au
            Reporter:
            billa Bill Au
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development