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

Revert "Bring changes from #412" #421

Closed
wants to merge 1 commit into from
Closed

Revert "Bring changes from #412" #421

wants to merge 1 commit into from

Conversation

hannahhoward
Copy link
Collaborator

Goals

This commit is the source of the problems in go-data-transfer tests. ( filecoin-project/go-data-transfer#373, filecoin-project/go-data-transfer#374 )

I'm not sure I want to merge this, as #412 also fixes a memory leak. The short version of the problem is: 412 contains a pretty serious problem where it shuts down the message queue, but fails to tell the peer manager to remove it, so if a reconnect happens, the peer manager may never realize the queue shutdown, and send messages to a shutdown queue. This is bad cause I think theoretically Boost's version can break a node-disconnect-reconnect from ever sending messages.

cc: @jacobheun who wrote original PR.

@gammazero
Copy link
Contributor

Close this in favor of #422

@gammazero gammazero closed this Apr 13, 2023
@gammazero gammazero deleted the revert/412 branch April 13, 2023 17:00
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