Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lexnv opened this issue Nov 21, 2024 · 1 comment
Open

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

lexnv opened this issue Nov 21, 2024 · 1 comment
Labels
I2-bug The node fails to follow expected behavior.

Comments

@lexnv
Copy link
Contributor

lexnv commented Nov 21, 2024

Kusama validator panics on:

fn storage(&mut self, key: &[u8]) -> Option<StorageValue> {
let _guard = guard();
let result = self
.overlay
.storage(key)
.map(|x| x.map(|x| x.to_vec()))
.unwrap_or_else(|| self.backend.storage(key).expect(EXT_NOT_ALLOWED_TO_FAIL));

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

@lexnv lexnv added the I2-bug The node fails to follow expected behavior. label Nov 21, 2024
@Anastasiia-Khab
Copy link

Same here #6547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I2-bug The node fails to follow expected behavior.
Projects
None yet
Development

No branches or pull requests

2 participants