Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-894

Read ledger entries from the bookie shell

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.4.0
    • Component/s: bookkeeper-server
    • Labels:
      None

      Description

      Bookie Shell should have a tool to read ledger entries from the bookkeeper cluster with optional arguments of startEntryId and endEntryId.

      Solution:
      We implement readEntries() in BookKeeperAdmin and return an Iterable. While iterating through it, we fetch individual entries instead of fetching all entries at once. Also, if the lastEntryId is not specified, we read entries till we get a NoSuchEntryException

        Attachments

          Activity

            People

            • Assignee:
              sboobna Siddharth Sunil Boobna
              Reporter:
              sboobna Siddharth Sunil Boobna
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified