You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/09/30 21:28:44 UTC

[GitHub] [zookeeper] js-musedev commented on a change in pull request #1470: fix some bugs found by muse.dev

js-musedev commented on a change in pull request #1470:
URL: https://github.com/apache/zookeeper/pull/1470#discussion_r497811125



##########
File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/Leader.java
##########
@@ -1716,6 +1720,7 @@ public void revalidateSession(QuorumPacket qp, LearnerHandler learnerHandler) th
         DataInputStream dis = new DataInputStream(bis);
         long id = dis.readLong();
         int to = dis.readInt();
+        dis.close();

Review comment:
       Yep. Corrected in new commit.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org