Github user anmolnar commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/447#discussion_r160976160
  
    --- Diff: 
src/java/main/org/apache/zookeeper/server/quorum/LearnerSessionTracker.java ---
    @@ -102,32 +101,42 @@ public boolean isGlobalSession(long sessionId) {
         }
     
         public boolean addGlobalSession(long sessionId, int sessionTimeout) {
    +        // no global session tracker, do nothing
    +        return false;
    --- End diff --
    
    Is it possible to throw UnsupportedOperationException instead?


---

Reply via email to