-
Notifications
You must be signed in to change notification settings - Fork 9.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
*: disable v2 API by default #10935
*: disable v2 API by default #10935
Conversation
The motivation for this is to disable it by default in v3.4? |
@philips Yes. We will still keep v2 storage and v2 API, until we have v4. |
OK, this will need major documentation, changelog, and user outreach. Has any of that been planned on an issue? |
Yeah I will make sure we highlight this in our documentation as a breaking change. |
Codecov Report
@@ Coverage Diff @@
## master #10935 +/- ##
==========================================
- Coverage 63.93% 63.8% -0.13%
==========================================
Files 400 400
Lines 37415 37415
==========================================
- Hits 23920 23874 -46
- Misses 11866 11935 +69
+ Partials 1629 1606 -23
Continue to review full report at Codecov.
|
FYI. Noticed some broken unit test: |
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
I checked the code base, and confirmed that publish method won't be affected by this. It goes directly to |
@@ -1980,6 +1980,12 @@ func (s *EtcdServer) sync(timeout time.Duration) { | |||
// static clientURLs of the server. | |||
// The function keeps attempting to register until it succeeds, | |||
// or its server is stopped. | |||
// | |||
// Use v2 store to encode member attributes, and apply through Raft |
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.
Agreed.
@jingyih Now CI should be passing. PTAL. Thx. |
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
LGTM |
@gyuho I did not see a corresponding changelog for this? |
@jingyih Ah, totally missed that. Let me add now. Thanks. |
Still need changelog.
/cc @xiang90 @jpbetz @philips