Skip to content

Feature: Disable EnableBlockServiceFallbackToArchiver by default.#5706

Merged
winder merged 4 commits intoalgorand:masterfrom
gmalouf:disable-archive-srv-lookup
Sep 1, 2023
Merged

Feature: Disable EnableBlockServiceFallbackToArchiver by default.#5706
winder merged 4 commits intoalgorand:masterfrom
gmalouf:disable-archive-srv-lookup

Conversation

@gmalouf
Copy link
Copy Markdown
Contributor

@gmalouf gmalouf commented Aug 23, 2023

Summary

Given there are no archival server records on mainnet/testnet, repeatedly doing queries for them (and adding warn messages to logs) makes little sense at the moment.

Test Plan

Existing tests pass.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 24, 2023

Codecov Report

Merging #5706 (cbdb38b) into master (ade30a8) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5706   +/-   ##
=======================================
  Coverage   55.57%   55.57%           
=======================================
  Files         474      474           
  Lines       66615    66615           
=======================================
+ Hits        37022    37024    +2     
+ Misses      27071    27068    -3     
- Partials     2522     2523    +1     
Files Changed Coverage Δ
config/localTemplate.go 69.12% <ø> (ø)

... and 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment thread network/wsNetwork_test.go Outdated
Comment thread network/wsNetwork_test.go Outdated
winder
winder previously approved these changes Aug 25, 2023
Copy link
Copy Markdown
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

LGTM

onetechnical
onetechnical previously approved these changes Aug 30, 2023
algonautshant
algonautshant previously approved these changes Aug 30, 2023
Copy link
Copy Markdown
Contributor

@algonautshant algonautshant 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.
You can also remove this:
catchup/universalFetcher_test.go
97: blockServiceConfig.EnableBlockServiceFallbackToArchiver = false

@gmalouf gmalouf force-pushed the disable-archive-srv-lookup branch from 869c142 to 52f9121 Compare August 31, 2023 23:45
@winder winder merged commit b212f94 into algorand:master Sep 1, 2023
@gmalouf gmalouf deleted the disable-archive-srv-lookup branch September 2, 2023 15:36
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.

4 participants