Solr
  1. Solr
  2. SOLR-897

abo/abc/backupcleaner/snapcleaner, if removinmg by number of snapshots/backups, gets Argument list too long

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: replication (scripts)
    • Labels:
      None

      Description

      ls -cd $

      {data_dir}

      /snapshot.* returns Argument list too long, use find instead

      1. SOLR-897.patch
        0.5 kB
        Dan Rosher
      2. solr-897-2.patch
        2 kB
        Bill Au

        Activity

        Hide
        Bill Au added a comment -

        I am going to see of other replication related scripts have this problem and fix them once and for all.

        Show
        Bill Au added a comment - I am going to see of other replication related scripts have this problem and fix them once and for all.
        Hide
        Bill Au added a comment -

        The following scripts also have the same problem: abc, abo, backupcleaner

        Show
        Bill Au added a comment - The following scripts also have the same problem: abc, abo, backupcleaner
        Hide
        Bill Au added a comment -

        expanded patch to include fix for all four scripts with the same problem.

        Show
        Bill Au added a comment - expanded patch to include fix for all four scripts with the same problem.
        Hide
        Bill Au added a comment -

        reattach expanded patch for fixes to all four scritps with the same problem.

        Show
        Bill Au added a comment - reattach expanded patch for fixes to all four scritps with the same problem.
        Hide
        Bill Au added a comment -

        reattach expanded patch for all four scripts with the same problem. This time with correct license.

        Show
        Bill Au added a comment - reattach expanded patch for all four scripts with the same problem. This time with correct license.
        Hide
        Bill Au added a comment -

        Patch commited:

        Sending CHANGES.txt
        Sending src/scripts/abc
        Sending src/scripts/abo
        Sending src/scripts/backupcleaner
        Sending src/scripts/snapcleaner
        Transmitting file data .....
        Committed revision 727722.

        Show
        Bill Au added a comment - Patch commited: Sending CHANGES.txt Sending src/scripts/abc Sending src/scripts/abo Sending src/scripts/backupcleaner Sending src/scripts/snapcleaner Transmitting file data ..... Committed revision 727722.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development