-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Removing deprecated commands in etcdctl & etcdutl #13809
Conversation
df243f6
to
ee11f4b
Compare
@@ -136,6 134,7 @@ func ctlV3SnapshotSave(cx ctlCtx, fpath string) error { | |||
} | |||
|
|||
func getSnapshotStatus(cx ctlCtx, fpath string) (snapshot.Status, error) { | |||
cx.etcdutl = true |
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.
Would be good to make etcdutl default for all removed commands and remove withEtcdutl()
and ctlCtx.etcdutl. Can be either in the same or separate PR.
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.
Other fix expect this. I will commit another PR.
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.
sg
ee11f4b
to
c870cbf
Compare
Codecov Report
@@ Coverage Diff @@
## main #13809 /- ##
==========================================
Coverage 72.62% 72.69% 0.07%
==========================================
Files 467 467
Lines 38276 38318 42
==========================================
Hits 27797 27856 59
Misses 8678 8654 -24
- Partials 1801 1808 7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
cc @ptabor
CHANGELOG/CHANGELOG-3.6.md
Outdated
@@ -16,6 16,9 @@ See [code changes](https://github.com/etcd-io/etcd/compare/v3.5.0...v3.6.0). | |||
### Deprecations | |||
|
|||
- Deprecated [V2 discovery](https://etcd.io/docs/v3.5/dev-internal/discovery_protocol/). | |||
- Removed [etcdctl defrag --data-dir ...](https://github.com/etcd-io/etcd/pull/13793) | |||
- Removed [etcdctl snapshot restore/status & etcdutl save ...](https://github.com/etcd-io/etcd/pull/13809). |
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.
Suggest to add three entries here, one for each removal.
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.
That's make sense. Thanks.
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 with a minor comment, which I am also OK to keep unchanged.
c870cbf
to
71146f2
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.
@kkkkun lgtm
I have one comment, if you want to address it later that's fine but if you can address it in this PR that would be good too. Thanks!
71146f2
to
0196817
Compare
0196817
to
f82bef2
Compare
I tryied twice. Should we change something to fix this limit ?
|
f82bef2
to
3c8fb67
Compare
@kkkkun thanks for addressing my comment. Yes, we need a permanent fix for semaphoreci error. There is also an open issue to disable it #13448 but it's something we couldn't figure out yet. I am merging this PR as the build passes except semaphoreci error which is not related to changes. Thanks! |
3c8fb67
to
1649c9d
Compare
Parts of #13798
cc @ptabor @spzala @serathius @ahrtr