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

Use FIFO for the bootstrap cache #2760

Open
RolandSherwin opened this issue Feb 19, 2025 · 0 comments
Open

Use FIFO for the bootstrap cache #2760

RolandSherwin opened this issue Feb 19, 2025 · 0 comments
Assignees

Comments

@RolandSherwin
Copy link
Member

RolandSherwin commented Feb 19, 2025

  • Simplify the bootstrap cache to be a FIFO.
  • Since there is a change in struct, we've also introduced some backwards compatibility such that we are able to write the cache in the old format.
    • This is required mostly by our public bootstrap cache, which can still be used by nodes running the older version of the code.
  • Introduce --write-older-cache-file argument for antnode and antctl. This also writes the argument inside the antctl's NodeRegistry to preserve the arg during upgrades.
  • Add more tests for the ant bootstrap crate.
@RolandSherwin RolandSherwin self-assigned this Feb 19, 2025
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

1 participant