-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add --file-locks checkpoint/restore option #12333
Conversation
Quick review LGTM, but you'll need to update the man pages with the new option before the CI will let this get through. |
95a637b
to
c421070
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very quick review: you need to remove -l
and resubmit (or, alternately, skip if remote).
6685bde
to
2c29790
Compare
c4b246b
to
c351d21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor suggestions (on the tests only; I don't feel qualified to comment on the rest).
Please hold off on re-pushing: all of CI is currently broken. There's a fix in progress, but you may need to rebase on main once that's in. Sorry for the inconvenience.
Other CI failures are real:
|
Thanks, this should be fixed now. |
LGTM. @containers/podman-maintainers PTAL |
LGTM |
@adrianreber Mind doing a quick review? Code LGTM |
CRIU supports checkpoint/restore of file locks. This feature is required to checkpoint/restore containers running applications such as MySQL. Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, rhatdan, rst0git The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I am too late, but looks good. One thing, however, shouldn't there be a check if the runtime actually supports |
We could check what is the runtime and its version and if it is an older version of
For @adrianreber What do you think? |
I am not crazy about adding assumptions like that to the code, since over time they will just become stale. That should probably be a distributions problem, in that it should ensure the OCI runtimes are new enough. |
What this PR does / why we need it:
CRIU supports checkpoint/restore of file locks. This feature is required to checkpoint/restore containers running applications such MySQL.
How to verify it?