paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.91k stars 704 forks source link

trie-db: Panic on database missing expected key #6582

Open lexnv opened 23 hours ago

lexnv commented 23 hours ago

Kusama validator panics on:

https://github.com/paritytech/polkadot-sdk/blob/3906c578c96d97a8a099a4bdac4685acbe375a7c/substrate/primitives/state-machine/src/ext.rs#L168-L174

Version deployed: version 1.16.1-ca8beaed148

Possibly related log


2024-11-21 13:19:44.659  WARN tokio-runtime-worker trie-cache: Timeout while trying to acquire a write lock for the shared trie cache

Details

Grafana logs.

Thread 'tokio-runtime-worker' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0xd2a41f821b81b2c30f351ace095dedd755f8b7c6bf189b58905b9903f16c1074"', /builds/parity/mirrors/polkadot-sdk/substrate/primitives/state-machine/src/ext.rs:174
This is a bug. Please report it at:
    https://github.com/paritytech/polkadot-sdk/issues/new

@paritytech/sdk-node

Anastasiia-Khab commented 23 hours ago

Same here https://github.com/paritytech/polkadot-sdk/issues/6547