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

Better Handling of Pending Peer Requests Assigned to Disconnected Peers #1348

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

RatanRSur
Copy link
Contributor

This PR solves the same problem as 3a39fbb but better. The attempt there has an issue where it still emulates sending the request and therefore only 5 requests max can be aborted. Thus the problem of the peer becoming stuck in a busy state remains. Here we do what we should've done all along, which is proactively abort these requests when a disconnect event occurs.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
@RatanRSur RatanRSur requested a review from shemnon August 28, 2020 16:39
@RatanRSur RatanRSur merged commit 237e678 into hyperledger:master Aug 28, 2020
@RatanRSur RatanRSur deleted the better-disconnect-handling branch August 28, 2020 19:48
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.

None yet

2 participants