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

Secure mode leaks memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.5.1, 3.5.2
    • None
    • None
    • None

    Description

      The Netty connection handling logic fails to clean up watches on connection close. This causes memory to leak.

      I will have a repro script available soon and a fix. I am not sure how to build a unit test since we would need to build an entire server and generate keys and such. Advice on that appreciated.

      Attachments

        1. leak-patch.patch
          5 kB
          Ted Dunning
        2. 0001-Updated-patch-for-Netty-leak-testing-to-trunk.patch
          6 kB
          Ted Dunning
        3. ZOOKEEPER-2509.patch
          5 kB
          Yuliya Feldman
        4. ZOOKEEPER-2509.patch
          5 kB
          Yuliya Feldman
        5. ZOOKPEEPER-2509.patch
          5 kB
          Yuliya Feldman
        6. ZOOKEEPER-2509-1.patch
          5 kB
          Yuliya Feldman

        Issue Links

          Activity

            People

              tdunning Ted Dunning
              tdunning Ted Dunning
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: