Stop generating v2 snapshot files, nor loading v2 snapshot files - #22263
Conversation
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 23 files with indirect coverage changes @@ Coverage Diff @@
## main #22263 +/- ##
=======================================
Coverage 69.70% 69.71%
=======================================
Files 449 449
Lines 38212 38187 -25
=======================================
- Hits 26635 26621 -14
- Misses 10142 10147 +5
+ Partials 1435 1419 -16 Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
/test pull-etcd-e2e-amd64 |
|
What kind of tests we have to ensure downgrade works? IIRC v3.8 will not generate snapshots, v3.7 generates but not need them, but v3.6 will still need them. Do we care about users going down from v3.8 to v3.6 via etcdutl? Do we have any safeguards around this? |
|
We should be good as long as the existing e2e test cases (including downgrade test cases) are green. We only support two major/minor releases, when v3.8 is out, v3.6 should be almost end of support. In practice, we don't expect users downgrade from v3.8 to v3.6. Also In K8s use cases, in most cases, even users upgrade or downgrade (AFAIK, K8s doesn't even support downgrade) multiple K8s versions, etcd is the same minor version.
For the etcdutl case, we can document that it only support v3.8 and v3.7, or document that we only support upgrade or downgrade one version at a time. If users want to continue to downgrade (not recommended, or not even supported if v3.6 if EOL) when they are already on v3.7, then they should use the the same version of etcdutl (v3.7)
FYI. This is exactly what this PR is doing. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, fuweid, serathius The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
thx for the quick review! |
It turns out that this PR has no impact on |
Link to #20187
This PR stops generating v2 snapshot files, nor loading it at all.