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: mark all routers DoNotWaitForSearchValue #10020

Merged
merged 3 commits into from
Jul 25, 2023
Merged

fix: mark all routers DoNotWaitForSearchValue #10020

merged 3 commits into from
Jul 25, 2023

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Jul 19, 2023

That means if the DHT has finished searching and no one responded over pubsub yet, we will not spend 1 minute searching for no reason.

This also include other error handling bug fixes inside go-libp2p-routing-helpers.

Fixes: #9927

Screenshot 2023-07-19 at 04-55-48 Jaeger UI

Depends on libp2p/go-libp2p-routing-helpers#75

@Jorropo Jorropo requested a review from a team as a code owner July 19, 2023 02:59
@Jorropo Jorropo requested a review from aschmahmann July 19, 2023 03:00
@Jorropo Jorropo self-assigned this Jul 19, 2023
@Jorropo Jorropo changed the title fix: mark ipns pubsub router DoNotWaitForStreamingResponses fix: mark ipns pubsub router DoNotWaitForStreamingResponses [skip changelog] Jul 19, 2023
@Jorropo Jorropo changed the title fix: mark ipns pubsub router DoNotWaitForStreamingResponses [skip changelog] fix: mark ipns pubsub router DoNotWaitForStreamingResponses Jul 19, 2023
@Jorropo Jorropo force-pushed the fix/9927 branch 2 times, most recently from d3ffb8c to 1c22096 Compare July 19, 2023 03:15
docs/changelogs/v0.22.md Outdated Show resolved Hide resolved
docs/config.md Outdated Show resolved Hide resolved
docs/config.md Outdated Show resolved Hide resolved
docs/config.md Outdated Show resolved Hide resolved
config/routing.go Outdated Show resolved Hide resolved
core/node/libp2p/routing.go Outdated Show resolved Hide resolved
That means if the DHT has finished searching and no one responded over pubsub *yet*, we will not spend 1 minute searching for no reason.

This also include other error handling bug fixes inside `go-libp2p-routing-helpers`.

Fixes: #9927
Stop making this configurable let everything race like it used to do.
@Jorropo Jorropo changed the title fix: mark ipns pubsub router DoNotWaitForStreamingResponses fix: mark all routers DoNotWaitForSearchValue Jul 25, 2023
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
@Jorropo Jorropo enabled auto-merge (squash) July 25, 2023 17:31
@Jorropo Jorropo disabled auto-merge July 25, 2023 17:39
@Jorropo Jorropo merged commit 9c02eec into master Jul 25, 2023
@Jorropo Jorropo deleted the fix/9927 branch July 25, 2023 17:39
@BigLep BigLep mentioned this pull request Aug 3, 2023
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.

IPNS could not resolve name through Gateway
2 participants