You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've deployed 2.14.0rc3 on testnet on 25+ nodes.
After two days of testing (that includes random restarts) we've observed ledger cache ahead of postgres ledger which requires manual intervention. Happened to 3 different nodes.
2.14 is our first indexer with local ledger. We've skipped 2.12 and 2.13
{"error":"MakeProcessorWithLedgerInit() err: InitializeLedger() simple catchup err: RunMigration() err: MakeProcessor() err: the ledger cache is ahead of the required round and must be re-initialized","level":"error","msg":"blockprocessor.MakeProcessor() err MakeProcessorWithLedgerInit() err: InitializeLedger() simple catchup err: RunMigration() err: MakeProcessor() err: the ledger cache is ahead of the required round and must be re-initialized","time":"2022-08-23T08:26:37Z"}
Probably not generally fixable with current approach but maybe a "one block off" situation could be addressed.
Urgency
Not very urgent but all shutdowns were "clean" ones so statistically this is going to hurt.
Acceptance Criteria
Use the MaxAccountLookback in the ledger to fetch recent StateDelta objects.
If the local ledger is ahead of postgres, use the historic StateDelta instead of computing a new one.
The text was updated successfully, but these errors were encountered:
winder
changed the title
Make indexer 2.14 with local ledger more resilient in case of restarts.
SPIKE: Make indexer 2.14 with local ledger more resilient in case of restarts.
Sep 22, 2022
Problem
We've deployed 2.14.0rc3 on testnet on 25+ nodes.
After two days of testing (that includes random restarts) we've observed ledger cache ahead of postgres ledger which requires manual intervention. Happened to 3 different nodes.
2.14 is our first indexer with local ledger. We've skipped 2.12 and 2.13
{"error":"MakeProcessorWithLedgerInit() err: InitializeLedger() simple catchup err: RunMigration() err: MakeProcessor() err: the ledger cache is ahead of the required round and must be re-initialized","level":"error","msg":"blockprocessor.MakeProcessor() err MakeProcessorWithLedgerInit() err: InitializeLedger() simple catchup err: RunMigration() err: MakeProcessor() err: the ledger cache is ahead of the required round and must be re-initialized","time":"2022-08-23T08:26:37Z"}
Probably not generally fixable with current approach but maybe a "one block off" situation could be addressed.
Urgency
Not very urgent but all shutdowns were "clean" ones so statistically this is going to hurt.
Acceptance Criteria
MaxAccountLookback
in the ledger to fetch recent StateDelta objects.The text was updated successfully, but these errors were encountered: