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

bug: nonces in the archive db are wrong or missing #13428

Open
1 of 2 tasks
michal0mina opened this issue Jun 20, 2023 · 4 comments
Open
1 of 2 tasks

bug: nonces in the archive db are wrong or missing #13428

michal0mina opened this issue Jun 20, 2023 · 4 comments
Assignees

Comments

@michal0mina
Copy link

michal0mina commented Jun 20, 2023

Problem

nonces in some archive tables are wrong or missing.

Acceptance Criteria

we need to provide a way for community fix data on their archive nodes.

Tasks

  • figure out a user friendly deliverable
  • communicate to our users
@simisimis simisimis changed the title Support OnTab re broken o1 archive node bug: nonces in the archive db are wrong or missing Jun 30, 2023
@michal0mina
Copy link
Author

Notes from a call:

  1. Investigate how to utilize logs to identify erratic tables and row

  2. If ^^ doesn't work then figure out db diff. 3 party tools, bash diff between tables, or SQL query between two database in one postgres instance

  3. How to decide what is good final database to do replayer against it. Sync with O1 -- to see when they deploy fix and the dumps start to be correct. This will be good timestamp/slot to correct as last one.

  4. Replayer is not viable option for 3rd party users (large memory footprint, 12-30+h execution, automation needed)

@simisimis
Copy link
Member

I have documented a way to run a replayer and get those nonces fixed. As well as how users should upgrade their current running databases. Which was simplified down basically to two steps:
restarting archive node with a newest mina-archive version and running an sql patch against their postgres database.
I informed our colleagues responsible to communicate those details to our community users.

@jrwashburn
Copy link

Where should one look for the communication and details on this?
Would this issue exist on a new database built from scratch by reloading precomputed blocks?

@simisimis
Copy link
Member

simisimis commented Feb 22, 2024

the bug fix has been merged in this pr #13406
however it's still in alpha release #14943 and hasn't made it's way to a public mainnet release.
Once that fix will be tested and rolled out in mainnet release, documentation and communication will follow.
At this point date of the release is still not known, but it's supposed to happen before HF when users will need to run mina replayer for archive node trustless migration path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants