-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
snapshot: deprecate forward compatibility #4122
snapshot: deprecate forward compatibility #4122
Conversation
a67d36f
to
7350c65
Compare
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4122 +/- ##
=======================================
Coverage 83.10% 83.11%
=======================================
Files 225 225
Lines 28545 28559 +14
=======================================
+ Hits 23722 23736 +14
Misses 4823 4823
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
Shouldn't there be also changes in vmm/src/persist.rs
? At least extra_version_check
ant get_snapshot_data_version
can be removed. Or do you want to do it in separate PR?
7350c65
to
8b070ad
Compare
We are not dropping support for this now. We are calling it deprecated. I don't think we should remove anything at this point. Am I missing something? |
Oh yeah, my mistake. We should remove it in the next release, not this one. |
9e80c09
to
178806f
Compare
Forward compatibility refers to the ability of Firecracker to create snapshots for older version formats. This feature is now deprecated and it will be removed in a subsequent release. Snapshot support is in developer preview, so dropping support for it does not require us to increase Firecracker's major version. In practice, deprecating this feature means that we deprecate the `version` field of the `PUT /snapshot/create` request. This commit, adds the "deprecated" header in the response of the endpoint if `version` is defined and documents the deprecation in CHANGELOG and snapshot documentation. Signed-off-by: Babis Chalios <[email protected]>
178806f
to
20a4dc8
Compare
Changes
Forward compatibility refers to the ability of Firecracker to create snapshots for older version formats. This feature is now deprecated and it will be removed in a subsequent release. Snapshot support is in developer preview, so dropping support for it does not require us to increase Firecracker's major version.
In practice, deprecating this feature means that we deprecate the
version
field of thePUT /snapshot/create
request. This commit, adds the "deprecated" header in the response of the endpoint ifversion
is defined and documents the deprecation in CHANGELOG and snapshot documentation.License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.