You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/08/05 07:57:00 UTC
[jira] [Resolved] (RATIS-1657) Intermittent failure in TestLogAppenderWithGrpc#testPendingLimits due to ConcurrentModificationException at SlidingWindow$Client.trySendDelayed
[ https://issues.apache.org/jira/browse/RATIS-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved RATIS-1657.
-------------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
> Intermittent failure in TestLogAppenderWithGrpc#testPendingLimits due to ConcurrentModificationException at SlidingWindow$Client.trySendDelayed
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RATIS-1657
> URL: https://issues.apache.org/jira/browse/RATIS-1657
> Project: Ratis
> Issue Type: Bug
> Reporter: Attila Doroszlai
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: org.apache.ratis.grpc.TestLogAppenderWithGrpc-output.txt, org.apache.ratis.grpc.TestLogAppenderWithGrpc.txt
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {code:title=https://github.com/apache/ratis/runs/7640279593?check_suite_focus=true#step:5:552}
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.222 s <<< FAILURE! - in org.apache.ratis.grpc.TestLogAppenderWithGrpc
> testPendingLimits[0](org.apache.ratis.grpc.TestLogAppenderWithGrpc) Time elapsed: 6.874 s <<< ERROR!
> java.util.concurrent.CompletionException: org.apache.ratis.protocol.exceptions.AlreadyClosedException: SlidingWindow$Client:client-920847F5D7C6->RAFT is closed.
> ...
> Caused by: java.util.ConcurrentModificationException
> at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1211)
> at java.util.TreeMap$KeyIterator.next(TreeMap.java:1265)
> at org.apache.ratis.util.SlidingWindow$Client.trySendDelayed(SlidingWindow.java:330)
> at org.apache.ratis.util.SlidingWindow$Client.receiveReply(SlidingWindow.java:323)
> at org.apache.ratis.client.impl.OrderedAsync.lambda$sendRequest$9(OrderedAsync.java:248)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)