Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2211

PurgeTxnLog does not correctly purge when snapshots and logs are at different locations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.6, 3.5.0
    • Fix Version/s: 3.4.8, 3.5.2, 3.6.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      Ubuntu 12.04, Java 1.7.

    • Flags:
      Patch

      Description

      PurgeTxnLog does not work when snapshots and transaction logs are at different file paths. The argument handling is buggy and only works when both snap and datalog dirs are given, and datalog dir contains both logs and snaps (snap is ignored).

        Attachments

        1. ZOOKEEPER-2211.patch
          1 kB
          Wesley Chow
        2. ZOOKEEPER-2211-02.patch
          6 kB
          Mohammad Arshad
        3. ZOOKEEPER-2211-03.patch
          7 kB
          Mohammad Arshad
        4. ZOOKEEPER-2211-04_br_3_4.patch
          9 kB
          Mohammad Arshad
        5. ZOOKEEPER-2211-04.patch
          8 kB
          Mohammad Arshad

          Activity

            People

            • Assignee:
              arshad.mohammad Mohammad Arshad
              Reporter:
              wesc Wesley Chow
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: