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

SimpleLocalnet should remove peers that no longer exist #15

Open
mboes opened this issue Jun 22, 2015 · 2 comments
Open

SimpleLocalnet should remove peers that no longer exist #15

mboes opened this issue Jun 22, 2015 · 2 comments

Comments

@mboes
Copy link
Contributor

mboes commented Jun 22, 2015

From @edsko on November 7, 2012 15:33

This is not a major issue, because even if we do, there is still no guarantee that a peer still exists after it has been returned by findPeers.

Copied from original issue: haskell-distributed/distributed-process#66

@mboes
Copy link
Contributor Author

mboes commented Jun 22, 2015

From @hyperthunk on January 4, 2013 16:0

Setting the target release as "some time in the future" as this "is not a major issue". Feel free to push it back into 0.2.0 if you want though.

@sopvop
Copy link

sopvop commented Jun 16, 2016

Other problem is that the list of LocalNodes can grow, and number of Monitor, as reported by getLocalNodeStats field nodeMonitors, grows with each node which was lost and reconnected.

If simplelocalnet is intended to be used as example for tutorials and quick prototypes then this should be mentioned in the docs.

I think that maybe adding releaseNode :: Backend -> NodeId -> IO () would be enough for most users, so they can clean it up if they get errors from someplace else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants