Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pkova
Copy link
Collaborator

@pkova pkova commented Aug 17, 2022

My newfangled automation of ship.arvo.network domains introduced in #5868 exposed a bug in ted/dns/address: the thread pokes before subscribing. This often leads to situations where the DNS request is completed before the client subscribes, leaving this thread running forever.

Fang-
Fang- previously approved these changes Aug 17, 2022
Copy link
Collaborator

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Classic. Good catch, thank you!

(Gonna hold off on merging for a little bit, but we'll get it out there soon enough.)

@tinnus-napbus tinnus-napbus changed the title dns-address: subscribe before poke dns-address: subscribe before poke and fix wire mismatch Aug 18, 2022
@tinnus-napbus tinnus-napbus requested a review from Fang- August 18, 2022 11:23
@tinnus-napbus
Copy link
Contributor

the watch was for wire /sub but take-fact expected wire /(scot %p our) so consequently the thread never received the response. I have changed both to /response @Fang- pls re-review

Copy link
Collaborator

@Fang- Fang- left a comment

Choose a reason for hiding this comment

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

Good catches all around, thank you both.

@Fang- Fang- merged commit 50ee2eb into next/arvo Sep 7, 2022
@Fang- Fang- deleted the pkova/dns-race branch September 7, 2022 17:41
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.

3 participants