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

NodeToNode and NodeToClient handshake protocol timeouts #2990

Merged
merged 2 commits into from
Mar 12, 2021

Conversation

coot
Copy link
Contributor

@coot coot commented Mar 12, 2021

No description provided.

Includes 'noTimeLimitsHandshake :: ProtocolLimits'.
@coot coot added handshake Issues/PRs related to the handshake negotation networking labels Mar 12, 2021
@coot coot requested a review from karknu March 12, 2021 14:57
@coot coot added node-to-client Issues & PRs related to node-to-client protocols node-to-node Issues and PRs relate to node-to-node protocols labels Mar 12, 2021
Copy link
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

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

LGTM

* 'timeLimitsHandshake' for 'node-to-node': 10s timeout
* 'noTimeLimitsHandshake' for node-to-client': no timeout

The node-to-client protocol is assumed to be executed in a safe
environment, so there's no reason to introduce a timeout.  We spotted
a handshake timeout on node-to-client protocol in a node that had large
valency in a benchmarking cluster.  This patch restores node-to-client
handshake no timoeut before #2956.
@coot
Copy link
Contributor Author

coot commented Mar 12, 2021

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 12, 2021

@iohk-bors iohk-bors bot merged commit 3176973 into master Mar 12, 2021
@iohk-bors iohk-bors bot deleted the coot/local-handshake branch March 12, 2021 20:37
Copy link
Contributor

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
handshake Issues/PRs related to the handshake negotation node-to-client Issues & PRs related to node-to-client protocols node-to-node Issues and PRs relate to node-to-node protocols
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants