ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1303

Observer LearnerHandlers are not removed from Leader collection.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.4
    • Fix Version/s: 3.4.4, 3.5.0
    • Component/s: scripts
    • Labels:
      None

      Description

      The Leader.removeLearnerHandler() call removes handlers from the forwardingFollowers and learners sets, but not from observingLearners. This will cause a leak if observers are repeatedly connected and disconnected from the ensemble.

        Activity

        Ashish Mishra created issue -
        Ashish Mishra made changes -
        Field Original Value New Value
        Attachment removeObservingLearners.diff [ 12504139 ]
        Ashish Mishra made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 3.5.0 [ 12316644 ]
        Fix Version/s 3.4.0 [ 12314469 ]
        Patrick Hunt made changes -
        Assignee Ashish Mishra [ ashm ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Michi Mutsuzaki made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.4.4 [ 12319841 ]
        Resolution Duplicate [ 3 ]

          People

          • Assignee:
            Ashish Mishra
            Reporter:
            Ashish Mishra
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 168h
              168h
              Remaining:
              Remaining Estimate - 168h
              168h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development