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

NPE when recovering ledger with no hint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0
    • contrib-bookkeeper
    • None
    • Reviewed

    Description

      When recovering a ledger, LedgerRecoveryMonitor currently start from the entry preceding the hint. if the hint is zero, then it causes an access out of the bounds of the bookie array in QuorumEngine, leading to the mentioned NPE.

      Attachments

        1. ZOOKEEPER-363.patch
          4 kB
          Flavio Paiva Junqueira
        2. ZOOKEEPER-363.patch
          0.8 kB
          Luca Telloli

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: