Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-237 Automatic recovery of under-replicated ledgers and its entries
  3. BOOKKEEPER-380

ZkLedgerUnderreplicationManager.markLedgerUnderreplicated() is adding duplicate missingReplicas while multiple bk failed for the same ledger

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Labels:
      None

      Description

      Scenario:-

      Say L0001 has ensemble bookies BK1, BK2, BK3.
      Publishing BK1 failure: replicaMgr.markLedgerUnderreplicated(L0001, BK1);
      Publishing BK2 failure: replicaMgr.markLedgerUnderreplicated(L0001, BK2);

      For the second invocation urLedger metadata is updating BK2 twice as follows:
      1=replica: "BK1", 1=replica: "BK2", 1=replica: "BK2"

        Attachments

        1. BOOKKEEPER-380.1.patch
          8 kB
          Rakesh Radhakrishnan
        2. BOOKKEEPER-380.diff
          7 kB
          Ivan Kelly
        3. BOOKKEEPER-380.patch
          7 kB
          Rakesh Radhakrishnan

          Activity

            People

            • Assignee:
              rakeshr Rakesh Radhakrishnan
              Reporter:
              rakeshr Rakesh Radhakrishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: