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

Transactional maintenance #29

Closed
spanezz opened this issue Mar 23, 2022 · 1 comment
Closed

Transactional maintenance #29

spanezz opened this issue Mar 23, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@spanezz
Copy link
Contributor

spanezz commented Mar 23, 2022

Moncic-CI could snapshot the image before running image maintenance on it, and if maintenance succeed, swap the upgraded snapshot with the old one, and remove the old one.

The swapping would not be atomic, but it would still greatly reduce the time in which an image being upgraded is in an inconsistent inbetween state, and it would keep the previous version in case the upgrade fails.

It would also allow running faster upgrades using --suppress-sync=yes

@spanezz spanezz added the enhancement New feature or request label Mar 23, 2022
@spanezz
Copy link
Contributor Author

spanezz commented Mar 26, 2022

Some considerations about this can be found on Truelite/nspawn-runner#2

@spanezz spanezz self-assigned this Mar 26, 2022
spanezz added a commit that referenced this issue Mar 26, 2022
spanezz added a commit that referenced this issue Mar 26, 2022
spanezz added a commit that referenced this issue Mar 26, 2022
spanezz added a commit that referenced this issue Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant