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

Task: review how we recover from failures while updating/saving root #512

Open
1 task done
MVrachev opened this issue May 9, 2024 · 0 comments
Open
1 task done

Comments

@MVrachev
Copy link
Member

MVrachev commented May 9, 2024

What is the task about?

We need to make sure that we store our md files in a particular order, so that in case of a failure, we can easily recover.
Because of that, the order we need to follow regarding how we update and persist new metadata is the following:

  1. bins/custom delegated target roles
  2. targets
  3. snapshot
  4. timestamp
  5. root

It's great we make sure that we solve the order from 1 to 4 with the implementation of _run_online_roles_bump() (see my comment here #501 (comment)), but the question is do we have the same guarantee for root?
That's something it's worth a review and if needed to make changes

References

Continuation of #494

Code of Conduct

  • I agree to follow this project's Code of Conduct
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