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

Concurrent operations of four letter 'dump' ephemeral command and killSession causing NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: server
    • Labels:
      None

      Description

      Potential problem occurs, when executing four letter 'dump' command and at the meantime zkserver has triggered session closure and removing the related information from the DataTree.

      Please see the exception:

      java.lang.NullPointerException
      	at org.apache.zookeeper.server.DataTree.dumpEphemerals(DataTree.java:1278)
      	at org.apache.zookeeper.server.DataTreeTest$1.run(DataTreeTest.java:82)
      

        Attachments

          Activity

            People

            • Assignee:
              rakeshr Rakesh R
              Reporter:
              rakeshr Rakesh R
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: