Skip to content
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

Acknowledge and apply inbound settings atomically #5431

Merged
merged 1 commit into from
Sep 8, 2019

Conversation

swankjesse
Copy link
Member

Closes: #5422

Unfortunately testing this is awkward because it's racy. I did
run a stress test that used to reproduce the problem, and now it
doesn't, so I am satisfied.

Closes: #5422

Unfortunately testing this is awkward because it's racy. I did
run a stress test that used to reproduce the problem, and now it
doesn't, so I am satisfied.
* execute all peer settings logic on the writer thread. This relies on the fact that the
* writer executor won't reorder tasks; otherwise settings could be applied in the opposite
* order than received.
*/
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function diffs better with GitHub’s Hide whitespace changes setting.

Copy link
Collaborator

@yschimke yschimke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swankjesse swankjesse merged commit 3464ef3 into master Sep 8, 2019
@oldergod oldergod deleted the jwilson.0907.ack_apply_atomically branch September 18, 2019 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Acknowledge inbound SETTINGS before using new flow control window budget
2 participants