-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RATIS-1968. Remove unreached else block of trySendDelayed #989
base: master
Are you sure you want to change the base?
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.