ivandika3 commented on PR #1362:
URL: https://github.com/apache/ratis/pull/1362#issuecomment-4167892726

   FYI, I found the following test failures on `testFollowerLinearizableRead` 
and `testFollowerLinearizableReadParallel` when disabling dummy request (since 
dummy request is a watch request that seems to trigger failover to the leader).
   
   ```
   java.util.NoSuchElementException
        at 
java.util.concurrent.ConcurrentSkipListMap.firstKey(ConcurrentSkipListMap.java:2053)
        at 
org.apache.ratis.util.SlidingWindow$RequestMap.firstSeqNum(SlidingWindow.java:108)
        at 
org.apache.ratis.util.SlidingWindow$Client.isFirst(SlidingWindow.java:413)
        at 
org.apache.ratis.client.impl.OrderedAsync.sendRequestWithRetry(OrderedAsync.java:201)
        at 
org.apache.ratis.util.SlidingWindow$Client.sendOrDelayRequest(SlidingWindow.java:315)
        at 
org.apache.ratis.util.SlidingWindow$Client.submitNewRequest(SlidingWindow.java:294)
        at org.apache.ratis.client.impl.OrderedAsync.send(OrderedAsync.java:172)
        at org.apache.ratis.client.impl.AsyncImpl.send(AsyncImpl.java:41)
        at 
org.apache.ratis.client.impl.AsyncImpl.sendReadOnly(AsyncImpl.java:51)
        at 
org.apache.ratis.LinearizableReadTests.runTestFollowerLinearizableRead(LinearizableReadTests.java:148)
        at 
org.apache.ratis.LinearizableReadTests.lambda$runWithNewCluster$0(LinearizableReadTests.java:80)
        at 
org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:143)
        at 
org.apache.ratis.LinearizableReadTests.runWithNewCluster(LinearizableReadTests.java:78)
        at 
org.apache.ratis.LinearizableReadTests.testFollowerLinearizableRead(LinearizableReadTests.java:106)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to