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

[1.0.3 -> main] P2P: Resolve on reconnect - Take 3 #911

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 8, 2024

Resolve address on reconnect. (Take 3, See #825, #868)

Instead of:

info  2024-09-25T21:50:50.686 net-1     net_plugin.cpp:2797           operator()           ] connection failed to p2p.telos-bad.zenblocks.io:9876, Element not found
info  2024-09-25T21:50:50.686 net-1     net_plugin.cpp:1461           _close               ] ["p2p.telos-bad.zenblocks.io:9876" - 1 <unknown>:<unknown>] closing

Now you get:

warn  2024-09-25T21:42:48.642 net-0     net_plugin.cpp:4524           operator()           ] Unable to resolve p2p.telos-bad.zenblocks.io:9876 Host not found (authoritative)

This takes a different approach than #825. This approach is closer to Leap 4.0 approach to connection lifetime although it does keep the connections_manager added in Leap 5.0.

The failure of #868 (and maybe #825) was due to #897.

Merges release/1.0 into main including #879

Resolves #525

@heifner heifner added the OCI Work exclusive to OCI team label Oct 8, 2024
@heifner heifner linked an issue Oct 8, 2024 that may be closed by this pull request
Base automatically changed from gh_848_main to main October 8, 2024 18:48
@heifner heifner merged commit 4d2c1ae into main Oct 8, 2024
36 checks passed
@heifner heifner deleted the 853-GH-525-p2p-resolve-main branch October 8, 2024 18:51
@ericpassmore ericpassmore added the bug The product is not working as was intended. label Oct 15, 2024
@ericpassmore
Copy link
Contributor

Note:start
category: Other
component: P2P
summary: Final fix, robust peer endpoint resolution on reconnection.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The product is not working as was intended. OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2P: Resolve endpoints on re-connect attempts
4 participants