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

Ledger size in bytes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.3, 3.4.0
    • contrib-bookkeeper
    • None
    • Reviewed

    Description

      It is currently easy to know how many entries a ledger has, but there is no easy way to know the total number of bytes in a ledger. The idea of this jira is to add a method that gives the number of bytes in a closed ledger. My current idea is to simply have the writer counting the number of bytes written and store it to ZooKeeper.

      Attachments

        1. ZOOKEEPER-465-3.3.patch
          18 kB
          Flavio Paiva Junqueira
        2. ZOOKEEPER-465.patch
          18 kB
          Flavio Paiva Junqueira
        3. ZOOKEEPER-465.patch
          18 kB
          Flavio Paiva Junqueira
        4. ZOOKEEPER-465.patch
          17 kB
          Flavio Paiva Junqueira
        5. ZOOKEEPER-465.patch
          17 kB
          Flavio Paiva Junqueira

        Activity

          People

            fpj Flavio Paiva Junqueira
            fpj Flavio Paiva Junqueira
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: