zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfirlevari <...@git.apache.org>
Subject [GitHub] zookeeper pull request #411: ZOOKEEPER-2684 Fix a crashing bug in the mixed ...
Date Tue, 31 Oct 2017 14:35:35 GMT
Github user kfirlevari commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/411#discussion_r148014452
  
    --- Diff: src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorConcurrencyTest.java
---
    @@ -376,4 +377,123 @@ public void noStarvationOfReadRequestsTest() throws Exception {
                         !processedRequests.contains(r));
             }
         }
    +
    +    /**
    +     * In the following test, we verify that we can handle the case that we got a commit
    +     * of a request we never seen since the session that we just established. This can
happen
    +     * when a session is just established and there is request waiting to be committed
in the
    +     * in the session queue but it sees a commit for a request that belongs to the previous
connection.
    --- End diff --
    
    Fixed


---

Mime
View raw message