RATIS-1968. Remove unreached else block of trySendDelayed#989
RATIS-1968. Remove unreached else block of trySendDelayed#989symious wants to merge 3 commits intoapache:masterfrom
Conversation
|
Since |
|
Yes, seems the variables are reset on exceptions. I will try to dive deeper, if needed, I'll close the PR then. |
|
@symious , I recall now -- when there is a failover, there could possibly be multiple calls needed to be retried. Since the retires are async, some other calls can be retried before the first call. In short, client calls are always in order but retries may be out of order. |
|
@szetszwo The error seems caused by repeating resets on the slidingWindow, could you help to check? |
Where is the code? |
Steps:
|
|
The |
|
@szetszwo I think |
What changes were proposed in this pull request?
In "
ratis/ratis-common/src/main/java/org/apache/ratis/util/SlidingWindow.java
Line 363 in 9bd82aa
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1968
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
No tests.