cosmos / gaia

Cosmos Hub
https://hub.cosmos.network
Apache License 2.0
465 stars 679 forks source link

State sync failed #1760

Closed InJenn closed 1 year ago

InJenn commented 2 years ago

Summary of Bug

Tyring to setup a node with state sync enabled following https://github.com/cosmos/gaia/blob/main/docs/hub-tutorials/join-mainnet.md#state-sync the state doesnt sync with this error

ERR failed to restore snapshot err="multistore restore: import failed: tree must be empty"
Sep 21 16:37:10 elesto-airdrop gaiad[6352]: 4:37PM INF Applied snapshot chunk to ABCI app chunk=72 format=1 height=12144000 module=statesync total=73
Sep 21 16:37:10 elesto-airdrop gaiad[6352]: 4:37PM INF Error reconnecting to peer. Trying again addr={"id":"538ebe0086f0f5e9ca922dae0462cc87e22f0a50","ip":"34.122.34.67","por>
Sep 21 16:37:11 elesto-airdrop gaiad[6352]: 4:37PM INF Error reconnecting to peer. Trying again addr={"id":"d3209b9f88eec64f10555a11ecbf797bb0fa29f4","ip":"34.125.169.233","p>
Sep 21 16:37:11 elesto-airdrop gaiad[6352]: 4:37PM ERR State sync failed err="state sync aborted" module=statesync
Sep 21 16:37:12 elesto-airdrop gaiad[6352]: 4:37PM

Version

v7.0.3

Steps to Reproduce

Setup a node with https://github.com/cosmos/mainnet/blob/306363b874e5dea91d3305788f2d864713aa10e0/README.md Enable state sync with https://github.com/cosmos/gaia/blob/main/docs/hub-tutorials/join-mainnet.md#state-sync


For Admin Use

mmulji-ic commented 1 year ago

Hi @InJenn, it says that your using gaia version v7.0.3, but the steps to reproduce are pointing to an old version 6.0.0

What do you want to achieve? State sync a 7.0.x node? Then take a look here.

If not, then let me know what you want to achieve & will follow up?