zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper pull request #447: [ZOOKEEPER-2926] Fix potential data consistency...
Date Thu, 11 Jan 2018 14:39:55 GMT
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?


---

Mime
View raw message