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

basichost: reset stream if SetProtocol fails #2875

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

sukunrt
Copy link
Member

@sukunrt sukunrt commented Jul 17, 2024

No description provided.

@sukunrt sukunrt merged commit 76b2665 into master Jul 18, 2024
9 of 11 checks passed
@rvagg
Copy link

rvagg commented Jul 19, 2024

What kinds of conditions would cause SetProtocol to fail?

@sukunrt
Copy link
Member Author

sukunrt commented Jul 19, 2024

This code path is taken with nodes we failed to run identify on.
SetProtocol will fail if the count of streams exceeds the per peer stream count or the per protocol stream count configured in the resource manager.

While this leads to a violation of the rcmgr limit guarantees, it shouldn't block any node since we are ignoring the error and returning the stream.

Do you think this could impact #2858?

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.

3 participants