-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle a lost standalone ack correctly. (#9895)
* Handle a lost standalone ack correctly. If a standalone ack gets lost and then there is an application-level reply to the message that triggered the standalone ack, we want to piggyback an ack on that application-level reply as well. Otherwise the other side can end up in a state where it has two outstanding unacknowledged messages (the message we are replying to, and the reply to our reply), which it can't handle. The other change here is to fix ReliableMessageMgr to not crash if the peer misbehaves and skips sending that piggyback ack described above. Instead, we just error out from sending the response to the peer's broken message. Fixes #9796 * Address review comments
- Loading branch information
1 parent
144dfa4
commit 1635324
Showing
5 changed files
with
197 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters