8000 prefetch: remove code for prefetching claim.sweat::claim by nagisa · Pull Request #11329 · near/nearcore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prefetch: remove code for prefetching claim.sweat::claim #11329

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

Merged
merged 1 commit into from
May 17, 2024

Conversation

nagisa
Copy link
Collaborator
@nagisa nagisa commented May 16, 2024

Sweat coin has migrated to new data structures that seem to require fewer storage accesses. Regardless the current prefetcher no longer works, so lets remove it.

Fixes #11327

Sweat coin has migrated to new data structures that seem to require
fewer storage accesses. Regardless the current prefetcher no longer
works, so lets remove it.
@nagisa nagisa requested a review from a team as a code owner May 16, 2024 10:51
@nagisa nagisa requested a review from tayfunelmas May 16, 2024 10:51
@nagisa
Copy link
Collaborator Author
nagisa commented May 16, 2024

I'm about to spin up a node to verify the impact of this change, if any. Until then this should not be merged.

Copy link
codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.09%. Comparing base (7befdbd) to head (2e5781c).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11329      +/-   ##
==========================================
+ Coverage   71.04%   71.09%   +0.05%     
==========================================
  Files         782      783       +1     
  Lines      156618   156794     +176     
  Branches   156618   156794     +176     
==========================================
+ Hits       111264   111471     +207     
+ Misses      40533    40490      -43     
- Partials     4821     4833      +12     
Flag Coverage Δ
backward-compatibility 0.24% <0.00%> (-0.01%) ⬇️
db-migration 0.24% <0.00%> (-0.01%) ⬇️
genesis-check 1.39% <100.00%> (-0.01%) ⬇️
integration-tests 37.19% <100.00%> (+<0.01%) ⬆️
linux 69.00% <100.00%> (+0.08%) ⬆️
linux-nightly 70.55% <100.00%> (+0.04%) ⬆️
macos 52.45% <100.00%> (+0.13%) ⬆️
pytests 1.61% <100.00%> (-0.01%) ⬇️
sanity-checks 1.40% <100.00%> (-0.01%) ⬇️
unittests 65.53% <100.00%> (+0.04%) ⬆️
upgradability 0.29% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@bowenwang1996 bowenwang1996 added this pull request to the merge queue May 17, 2024
@bowenwang1996 bowenwang1996 removed this pull request from the merge queue due to a manual request May 17, 2024
@nagisa
Copy link
Collaborator Author
nagisa commented May 17, 2024

I have reviewed the graphs and they indicate no notable (perhaps very slightly better: the shard cache hit rate is better) behaviour compared to the current nodes. This is good to merge, as we've verified that the code is dead for sure with the experiment.

@nagisa nagisa added this pull request to the merge queue May 17, 2024
Merged via the queue into near:master with commit 196e8d8 May 17, 2024
29 checks passed
@nagisa nagisa deleted the removes-sweat-claim-prefetch branch May 17, 2024 07:27
posvyatokum pushed a commit that referenced this pull request Jun 11, 2024
Sweat coin has migrated to new data structures that seem to require
fewer storage accesses. Regardless the current prefetcher no longer
works, so lets remove it.
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.

Investigate removing the outdated prefetching for sweatcoin claim
2 participants
0