Skip to content

Investigate Geth and Erigon snap sync failures when syncing from scratch #363

@Filter94

Description

@Filter94

Impact

environment [Testnet]

an user is impacted [Y], if yes type of user: [Internal]

Describe the bug

I noticed that when upgrading Geth after 1.15.8 snap sync doesn't sync Geth nodes from scratch. For Erigon the issue seems to be similar post version 3.0.2. Right now we're using full sync in the e2e tests, but we need to investigate what's the issue with the snap sync and raise it with the client teams if necessary or come up with a workaround

Steps to Reproduce

In the E2E test

Steps to reproduce the bug:

  1. Set Geth version to 1.16.3
  2. Set the sync mode to SNAP
  3. Try to run the test
  4. See a failure of the sync from scratch scenario, saying that Geth is at height 0
  5. See error in the logs "Parent is not found"

Actual result

The test is failing, there is an error in Geth logs

Expected result

Geth should sync without any issues

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingflakinessTests/CI jobs that are flaky and shall be addressed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions