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

core/rawdb: add logging and fix comments around AncientRange function… #1784

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

ucwong
Copy link
Member

@ucwong ucwong commented Nov 1, 2023

This adds warning logs when the read does not match the expected count. We can also remove the size limit since the function documentation explicitly states that callers should limit the count.

…. (#28379)

This adds warning logs when the read does not match the expected count.
We can also remove the size limit since the function documentation explicitly states
that callers should limit the count.
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #1784 (144e45a) into master (80dec6d) will increase coverage by 0.01%.
Report is 353 commits behind head on master.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1784      +/-   ##
==========================================
+ Coverage   52.70%   52.72%   +0.01%     
==========================================
  Files         485      485              
  Lines       60514    60518       +4     
==========================================
+ Hits        31896    31909      +13     
+ Misses      26159    26149      -10     
- Partials     2459     2460       +1     
Files Coverage Δ
core/rawdb/freezer_resettable.go 43.43% <ø> (ø)
core/rawdb/accessors_chain.go 43.46% <0.00%> (-0.35%) ⬇️

... and 14 files with indirect coverage changes

@ucwong ucwong marked this pull request as ready for review November 1, 2023 10:49
@ucwong ucwong merged commit 3035d42 into master Nov 1, 2023
2 checks passed
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.

2 participants