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

Delay the replication of a ledger if RW found that its last fragment is in underReplication.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • None

    Description

      When RW found that ledger's last fragment is in underReplication state, then we should delay that ledger replication for some grace period. optimally we can replicate other fragments.

      The idea is, Whenever it finds the last fragement is under replicated, It can add into PendingReplication list.
      There will be a small daemon, which will check for the timeouts of this ledgers.

      Once it timed out , it will trigger the normal replication process if it is not in last fragment. Otherwise, it will fence the ledger and will trigger the replication nomally.

      see the discussion for more info:
      http://markmail.org/message/ruhhxxgvuqnjlu2s#query:+page:1+mid:f6ifo4sizulwiaem+state:results

      Attachments

        1. BOOKKEEPER-325.patch
          29 kB
          Uma Maheswara Rao G
        2. BOOKKEEPER-325.patch
          25 kB
          Uma Maheswara Rao G
        3. BOOKKEEPER-325.patch
          37 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: