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

ZkUnderreplicationManager can build up an unbounded number of watchers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Labels:
      None

      Description

      getLedgerToReplicate leaves watches each time it traverses the
      tree until it finds a suitable replication target. Since we don't have
      a way of canceling watches, these watches tend to get abandoned,
      particularly on interior nodes, which aren't changed much. Thus,
      over time, some nodes would build up a very large number of watches.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sjust2 Samuel Just
                Reporter:
                sjust2 Samuel Just
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: