When an incompatible connection is closed, clear the state that prevents us from sending messages on it#7124
Merged
sfc-gh-vgasiunas merged 1 commit intoMay 11, 2022
Conversation
…nts us from sending messages to it
Collaborator
Doxense CI Report for Windows 10
|
Contributor
AWS CodeBuild CI Report for macOS BigSur 11.5.2
|
Contributor
AWS CodeBuild CI Report for Linux CentOS 7
|
This was referenced May 11, 2022
sfc-gh-vgasiunas
approved these changes
May 11, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When downgrading a cluster, it was possible for a
Peerobject on the destination version to be held open through the downgrade. Before the downgrade, thePeerwould have marked the connection as incompatible and would stop sending messages to it. After the downgrade, that state would persist and it would continue refusing to send messages even though the remote endpoint is compatible.With this change, the state marking the connection as ineligible for messages is cleared when an incompatible connection is closed.
Passed 10K correctness. Also passes downgrade testing when applied to 7.0 and 7.1.
Code-Reviewer Section
The general guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branchormainif this is the youngest branch)