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

Throw exception when ledger does not exist

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2.0
    • Component/s: contrib-bookkeeper
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, openLedger() in the BookKeeper client returns null if the ledger ID does not exist on ZK. Maybe it would be better to throw a specific exception so it can be handled by the client side.

        Attachments

        1. ZOOKEEPER-358.patch
          3 kB
          Flavio Junqueira
        2. ZOOKEEPER-358.patch
          2 kB
          Flavio Junqueira

          Activity

            People

            • Assignee:
              fpj Flavio Junqueira
              Reporter:
              lucat Luca Telloli
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: