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

Too many pending push/pull requests #259

Open
nikfot opened this issue Feb 24, 2022 · 0 comments
Open

Too many pending push/pull requests #259

nikfot opened this issue Feb 24, 2022 · 0 comments

Comments

@nikfot
Copy link

nikfot commented Feb 24, 2022

Hello,

I am using memberlist as part of a caching architecture. In the delegate interface, I update local outdated or empty cache in MergeRemoteState with a fresh cache instance from other members in LocalState. According to the documentation I have found this is the way to go, please correct me if I misunderstood something.

For some reason I have not yet been able to identify 100%, after some time I get the error Too many pending push/pull requests and that member practically becomes unresponsive.

I can see that this error is produced in net.go of the pkg from open push pull requests. However I cannnot find a way to clean up those push pull requests nor the reason they are accumulated.

I checked the Broadcast queue and it is empty at any time. So I am not sure if I implementing something the wrong way or if I miss sth or both.

Could you provide some extra insight please?

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

No branches or pull requests

1 participant