Skip to content

fixes stall on snapshot - #7949

Merged
AdoAdoAdo merged 31 commits into
feat/recon-by-metafrom
stall-fixes
Aug 10, 2026
Merged

fixes stall on snapshot#7949
AdoAdoAdo merged 31 commits into
feat/recon-by-metafrom
stall-fixes

Conversation

@AdoAdoAdo

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.47312% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.70%. Comparing base (2015bf1) to head (1c1fa28).

Files with missing lines Patch % Lines
epochStart/shardchain/trigger.go 88.43% 10 Missing and 7 partials ⚠️
process/block/baseProcess.go 90.62% 6 Missing and 6 partials ⚠️
process/block/headerForBlock/headersForBlock.go 92.68% 3 Missing and 3 partials ⚠️
...ochStart/bootstrap/epochStartMetaBlockProcessor.go 20.00% 4 Missing ⚠️
process/missingData/missingDataResolver.go 94.93% 2 Missing and 2 partials ⚠️
process/sync/baseSync.go 92.72% 2 Missing and 2 partials ⚠️
...stHandlers/requesters/equivalentProofsRequester.go 0.00% 3 Missing ⚠️
process/asyncExecution/headersExecutor.go 66.66% 3 Missing ⚠️
trie/node.go 57.14% 2 Missing and 1 partial ⚠️
factory/core/coreComponents.go 98.64% 1 Missing and 1 partial ⚠️
... and 4 more
Additional details and impacted files
@@                  Coverage Diff                   @@
##           feat/recon-by-meta    #7949      +/-   ##
======================================================
+ Coverage               77.59%   77.70%   +0.10%     
======================================================
  Files                     892      892              
  Lines                  128225   128882     +657     
======================================================
+ Hits                    99498   100146     +648     
+ Misses                  22202    22194       -8     
- Partials                 6525     6542      +17     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sstanculeanu sstanculeanu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

not all ResolverArgs occurrences were not updated with the new param

@AdoAdoAdo

Copy link
Copy Markdown
Contributor Author

not all ResolverArgs occurrences were not updated with the new param

fixed

Comment thread process/sync/baseSync.go
rootHash := lastExecResult.GetRootHash()
_, err = boot.accounts.GetTrie(rootHash)
if err != nil {
boot.statusHandler.Increment(common.MetricNumRollBacksRefusedMissingState)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

MetricNumRollBacksRefusedMissingState is incremented but not registered inside metrics.go

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread trie/errors.go Outdated
var ErrInvalidIdentifier = errors.New("invalid identifier")

// ErrInvalidSnapshotsGoroutinesPerCore signals that the configured snapshots goroutines per core is invalid
var ErrInvalidSnapshotsGoroutinesPerCore = errors.New("invalid snapshots goroutines per core, must be at least 1")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
var ErrInvalidSnapshotsGoroutinesPerCore = errors.New("invalid snapshots goroutines per core, must be at least 1")
var ErrInvalidSnapshotsGoroutinesPerCore = errors.New("invalid snapshots goroutines per core")

and add the extra info on return fmt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@AdoAdoAdo
AdoAdoAdo merged commit 72bb1d0 into feat/recon-by-meta Aug 10, 2026
11 checks passed
@AdoAdoAdo
AdoAdoAdo deleted the stall-fixes branch August 10, 2026 12:47
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.

3 participants