-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Digest item must match that calculated - Probably cache issue #9697
Comments
Same happens on Phala's testnet. All the full nodes stop at the same block, and a simple restart can walk-around the problem. However the collators are not affected. Usually it can happen once per week or two. |
Maybe relevant: paritytech/cumulus#573 |
It happens frequently on Moonriver. Mostly when syncing, but also when importing blocks during normal operations (fully synced). |
Other collators have reported that using the |
Maybe caused by same problem: |
I grabbed 200+Gb of state data when triggering this error but I deletee it by mistake when trying to manipulate it :(
|
we see this on calamari parachain on kusama. collators run manta version 3.1.0-1 which uses polkadot-v0.9.12 dependencies. i would like to understand what
|
As the name suggests, it sets the size of the state cache. There are bugs in it. Just run with |
I found a way to consistently reproduce this;
Unfortunately this coincides with what I'm trying to do and |
@ggwpez your problem is not related to this issue here. Your problem is that you pass the block to |
Happening on Parachain, probably related to cumulus.
Observed in Moonbeam networks (I haven't checked other parachains), currently based on polkadot 9.8 but this happened at least back to polkadot 9.0
So summary:
This bug initiated last year. Collators were panicking because of "Digest item must match that calculated".
The original bug was in the state cache, reported in #7964 and fixed in #7990
However we found some very infrequent "Digest item must match that calculated" still happening in our community collators.
We have run our company nodes with
--state-cache-size 4
for at least 6 month and haven't observed this message so I still suspect there are "rare" use cases where the state cache is broken.I won't have the time to monitor the database hoping for it to happen again (which seems to be not even once a month per node), so I don't expect this to be fixed soon.
I'll keep this ticket to add more information if I find some.
The text was updated successfully, but these errors were encountered: