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: Stop RM errors when using acceleratedDHT #9407

Merged
merged 4 commits into from Nov 15, 2022

Conversation

ajnavarro
Copy link
Member

@ajnavarro ajnavarro commented Nov 15, 2022

  • Move Transient limits back to only limit inbound connections and streams.
  • Remove the usage of HighWater param.

It closes #9405

Signed-off-by: Antonio Navarro Perez antnavper@gmail.com

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
@ajnavarro ajnavarro changed the title chore: bump version to v0.17.0-rc1 fix: stop RM errors when using acceleratedDHT Nov 15, 2022
@ajnavarro ajnavarro changed the title fix: stop RM errors when using acceleratedDHT fix: Stop RM errors when using acceleratedDHT Nov 15, 2022
Copy link
Contributor

@BigLep BigLep left a comment

Choose a reason for hiding this comment

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

@ajnavarro : thinking on this more, I think we should just remove the connection with between the resource manager and "cfg.ConnMgr.HighWater". Lets let them operate independently. I made a commit with my suggested code change.

Can you then confirm that this works with both the scenarios that @lidel mentioned in #9405 and #9406 ?

Thanks

core/node/groups.go Outdated Show resolved Hide resolved
core/node/libp2p/rcmgr.go Outdated Show resolved Hide resolved
core/node/libp2p/rcmgr.go Outdated Show resolved Hide resolved
core/node/libp2p/rcmgr.go Outdated Show resolved Hide resolved
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
@ajnavarro ajnavarro force-pushed the fix/resource-manager-with-fullRT branch from c6e3d54 to 14fbf0b Compare November 15, 2022 16:23
@ajnavarro
Copy link
Member Author

@BigLep confirmed that it works with both ConnMgr configurations.

Copy link
Contributor

@BigLep BigLep left a comment

Choose a reason for hiding this comment

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

Looks good to me given it's passing the configurations that @lidel mentioned.

We'll need to cut a new RC for this.

core/node/libp2p/rcmgr_defaults.go Outdated Show resolved Hide resolved
ajnavarro and others added 2 commits November 15, 2022 17:52
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
@BigLep BigLep mentioned this pull request Nov 15, 2022
@ajnavarro ajnavarro merged commit dfa631e into release-v0.17.0 Nov 15, 2022
@ajnavarro ajnavarro deleted the fix/resource-manager-with-fullRT branch November 15, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants