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

fix: new control plane should reset grpc conn pool cache #150

Merged
merged 4 commits into from
Jun 18, 2023

Conversation

mzz2017
Copy link
Contributor

@mzz2017 mzz2017 commented Jun 18, 2023

Background

Problem

We may change gRPC node configuration, but the changed configuration is hard to apply due to the long connection and connection reuse feature of gRPC.

How to reproduce

Context is #111. (This PR does not fix it)

If we change allow_insecure from false to true, and reload dae; the node remains not working.

Checklist

Full changelogs

  • Upgrade softwind to support to clean the grpc connection pool. daeuniverse/softwind@5c79a91
  • Call clean func before NewDialerSetFromLinks in NewControlPlane.

Copy link
Contributor

@piyoki piyoki left a comment

Choose a reason for hiding this comment

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

Has this fix been fully tested yet?

@mzz2017
Copy link
Contributor Author

mzz2017 commented Jun 18, 2023

Has this fix been fully tested yet?

@yqlbu Yes, everything works fine.

@mzz2017 mzz2017 merged commit 4d42b2d into main Jun 18, 2023
@mzz2017 mzz2017 deleted the fix_clean_grpc_cache branch June 18, 2023 10:53
MarksonHon pushed a commit to MarksonHon/dae that referenced this pull request Jun 26, 2023
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.

2 participants