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

Snapshots deserialization failures #1181

Closed
kderme opened this issue Jul 6, 2022 · 2 comments
Closed

Snapshots deserialization failures #1181

kderme opened this issue Jul 6, 2022 · 2 comments
Labels
bug Something isn't working priority high issues/PRs that MUST be addressed. The release can't happen without this;

Comments

@kderme
Copy link
Contributor

kderme commented Jul 6, 2022

On testnet, db-sync fails to deserialise stored Babbage snapshots. This means that upon a restart, it rollbacks to the Alonzo/Babbage boundary. This is not a db-sync issues, since the same issue exists on the node.

db-sync-node:Info:66] [2022-07-05 23:09:57.13 UTC] Blocks deleted
[db-sync-node:Warning:66] [2022-07-05 23:09:58.23 UTC] Failed to parse ledger state file ledger-state/testnet-13-snapshot/62688640-414262795a.lstate with error 'DecoderErrorDeserialiseFailure "Ledger state file" (DeserialiseFailure 31749160 "Decoding TxIx: too many bytes.")'. Deleting it.
[db-sync-node:Warning:66] [2022-07-05 23:09:58.28 UTC] Rolling back further to slot 62510369
[db-sync-node:Info:66] [2022-07-05 23:09:58.30 UTC] Rolling back to slot 62510369, hash d931221f9bc4cae34de422d9f4281a2b0344e86aac6b31eb54e2ee90f44a09b9
[db-sync-node:Info:66] [2022-07-05 23:09:58.31 UTC] Deleting 5405 blocks up to slot 62688640
[db-sync-node:Info:66] [2022-07-05 23:10:01.92 UTC] Blocks deleted
@kderme kderme added bug Something isn't working priority high issues/PRs that MUST be addressed. The release can't happen without this; labels Jul 6, 2022
@kderme
Copy link
Contributor Author

kderme commented Jul 6, 2022

Also in node IntersectMBO/cardano-node#4142

@erikd
Copy link
Contributor

erikd commented Jul 7, 2022

I really wonder why there wasn't a simple round trip test to catch this.

Maybe we should even have a round trip test for this in our repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority high issues/PRs that MUST be addressed. The release can't happen without this;
Projects
None yet
Development

No branches or pull requests

2 participants