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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.6, 3.5.0
    • 3.4.8, 3.5.2, 3.6.0
    • scripts
    • None
    • Ubuntu 12.04, Java 1.7.

    • 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

            arshad.mohammad Mohammad Arshad
            wesc Wesley Chow
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: