RATIS-1968. Remove unreached else block of trySendDelayed by symious · Pull Request #989 · apache/ratis

What changes were proposed in this pull request?

In "

} else {

", the else block should not be reached, since only the first request is send out, all other request are still in the "delayedRequests", we can not receive out-of-order replies if "firstReplied" is not set.

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.