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

Network: Archival node DNS Resolution #5940

Merged
merged 2 commits into from Feb 23, 2024

Conversation

gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Feb 23, 2024

Summary

Support resolving archival nodes from the archive dns entry. Phonebook queries for archival nodes have been updated to resolve to addresses discovered from the archive dns entry (these queries previously mapped to relay addresses).

Deduplication of addresses resolved from primary/secondary DNS bootstrap services for archival nodes is now supported as well.

Remaining mentions of 'archivers' were removed to avoid future confusion.

Test Plan

Existing tests were updated/should pass. Also ran algod manually to ensure proper DNS queries taking place.

…ival Node peer requests now map to peers discovered from the archive dns entry (used to fallback to relays). Peer requests for 'archivers' are no longer supported.
…otstrap logic (re-uses pattern from dnsBootstrapId that is applied to relays).
@gmalouf gmalouf self-assigned this Feb 23, 2024
@gmalouf gmalouf marked this pull request as ready for review February 23, 2024 00:16
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 55.75%. Comparing base (52964ed) to head (96bf3ba).

Files Patch % Lines
network/wsNetwork.go 92.30% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5940   +/-   ##
=======================================
  Coverage   55.74%   55.75%           
=======================================
  Files         488      488           
  Lines       68103    68101    -2     
=======================================
+ Hits        37966    37967    +1     
+ Misses      27573    27564    -9     
- Partials     2564     2570    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gmalouf gmalouf merged commit 787f758 into algorand:master Feb 23, 2024
18 of 19 checks passed
@gmalouf gmalouf deleted the archival-node-dns branch February 23, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants