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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.5
    • 3.4.6, 3.5.0
    • server
    • 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

        1. 0001-ZOOKEEPER-1755-branch-3_4.patch
          4 kB
          Rakesh Radhakrishnan
        2. 0001-ZOOKEEPER-1755-trunk-version.patch
          14 kB
          Rakesh Radhakrishnan
        3. ZOOKEEPER-1755.patch
          14 kB
          Rakesh Radhakrishnan

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rakeshr Rakesh Radhakrishnan
            rakeshr Rakesh Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment