ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-464

Need procedure to garbage collect ledgers

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: contrib-bookkeeper
    • Labels:
      None

      Description

      An application using BookKeeper is likely to use a large number of ledgers over time. Such an application might not need all ledgers created over time and might want to delete some of these ledgers to free up some space on bookies. The idea of this jira is to implement a procedure that enables an application to garbage-collect unwanted ledgers.

      To garbage-collect a ledger, we need to delete the ledger metadata on ZooKeeper, and delete the ledger data on corresponding bookies.

      1. ZOOKEEPER-464.patch
        37 kB
        Erwin Tam
      2. ZOOKEEPER-464.patch
        38 kB
        Erwin Tam
      3. zookeeper-464-log.txt
        93 kB
        Flavio Junqueira
      4. ZOOKEEPER-464.patch
        44 kB
        Erwin Tam
      5. ZOOKEEPER-464.patch
        45 kB
        Erwin Tam

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Erwin Tam
            Reporter:
            Flavio Junqueira
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development