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

LedgerHandle.deleteLedger() should be idempotent

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • bookkeeper-client
    • None

    Description

      Deleting a non-existing ledger should silently succeed.

      Current behavior is to raise a ZKException, but it's not possible to know whether there was some error or the ledger does not exists anymore.

      This scenario will happen when a previous deleteLedger() call succeeded but the client crashed before updating its own ledger list.

      Attachments

        Activity

          People

            mmerli Matteo Merli
            mmerli Matteo Merli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment