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

Fix the state transfer with containers like PostgreSQL #760

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

DavidePrincipi
Copy link
Member

Some services, like PostgreSQL, can create/remove files quickly and Rsync fails with exit code 24: files vanished.

This PR ignores the code 24 failure in the first rsync run, and ensures that all containers are fully stopped before starting the final rsync run.

Refs NethServer/dev#7198

If a stale container exists, overwrite it silently.
Wait up to 60 seconds for the container stop.
@DavidePrincipi DavidePrincipi requested a review from Amygos December 5, 2024 16:55
@DavidePrincipi DavidePrincipi self-assigned this Dec 5, 2024
@DavidePrincipi DavidePrincipi merged commit ee093f0 into main Dec 6, 2024
2 checks passed
@DavidePrincipi DavidePrincipi deleted the bug-7198 branch December 6, 2024 15:09
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

Successfully merging this pull request may close these issues.

2 participants