near / near-indexer-for-explorer

Watch NEAR network and store all the data from NEAR blockchain to PostgreSQL database
https://near-indexers.io/docs/projects/near-indexer-for-explorer
GNU General Public License v3.0
123 stars 56 forks source link

Inconsistency in block ordinal to block hash mapping found at block height #252

Closed rayn316 closed 2 years ago

rayn316 commented 2 years ago

Version v0.10.10 This error is displayed when running node again after updating the database

Inconsistency in block ordinal to block hash mapping found at block height 47443088
Inconsistency in block ordinal to block hash mapping found at block height 47489088
Inconsistency in block ordinal to block hash mapping found at block height 47541952
Inconsistency in block ordinal to block hash mapping found at block height 47627178
khorolets commented 2 years ago

@sundafa it'd be nice if you provide:

rayn316 commented 2 years ago

@khorolets Subsequent observations can continue to synchronize block heights. OS: Ubuntu 20.04 chain-id: mainnet The database data is dumped from other servers. After a long time, the archive node is synchronized and the indexer program can run. Other information is no different from normal operation, And after restarting again today, I did not see the relevant errror message.

frol commented 2 years ago

This was nearcore internal storage migration from version 30 to 31. It was expected that those blocks would be fixed automatically, and this message can be safely ignored.