-
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
Upgrade go-criu to v6 #15591
Upgrade go-criu to v6 #15591
Conversation
Looks like you have build issues, but changes LGTM otherwise |
There's a namespace conflict between the proto files from another dependency. I'll get this repaired and working shortly. |
LGTM |
15df4dc
to
2c2b40b
Compare
2c2b40b
to
537091f
Compare
@mheon @TomSweeneyRedHat would it be possible to override the CI constraint for binary deltas over 51200B? The remaining tests are passing :) |
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.
LGTM
Eh, why exactly do we need this? +1 MB for no new features? |
Can we work around this issue. One of the things Automotive wants out of us is guarantees that we prevent the start up time of Podman from going up. Each time it gets fatter, the total time of starting the podman command slows down. Automotive has a requirement to start container from boot in < 2 seconds. |
In go-criu version 6.X we introduced support for image processing functionality ( |
Can you do something about the protobuf problem @Luap99 mentions? |
Although we do not need all the bindings for the stats API, they will be required to extend |
We briefly discussed this problem in checkpoint-restore/go-criu#95 (comment), but so far this is the best solution we have. |
I agree over 1MB increase of binary size for just moving code around does not sound right. It is not clear why the binary size increases so much as non of the imported protobuf files are actually used. We need to structure go-criu differently. |
Since all Go programs are statically linked, the Go compiler includes the entire library, even if just a single function is being used (in this case, |
A friendly reminder that this PR had no activity for 30 days. |
@snprajwal Would you be able to update this pull request with go-criu version 6.3.0 (e.g., a71a19e)? |
Signed-off-by: Prajwal S N <[email protected]>
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.
LGTM, thanks for fixing this
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, rst0git, snprajwal 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 |
/lgtm |
The v6.0.0 release of go-criu has deprecated the
rpc
andstats
packages in favour of the
crit
package. This commit provides thechanges required to use this version in podman.
Signed-off-by: Prajwal S N [email protected]