-
Notifications
You must be signed in to change notification settings - Fork 725
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
*: remove api mode #8780
base: master
Are you sure you want to change the base?
*: remove api mode #8780
Conversation
Skipping CI for Draft Pull Request. |
f63a4a1
to
baece73
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
baece73
to
e252d4c
Compare
e7daf0e
to
b2ff129
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8780 +/- ##
==========================================
- Coverage 76.25% 75.99% -0.26%
==========================================
Files 461 461
Lines 70395 70384 -11
==========================================
- Hits 53677 53488 -189
- Misses 13372 13562 +190
+ Partials 3346 3334 -12
Flags with carried forward coverage won't be shown. Click here to find out more. |
a5e5fa5
to
0197c74
Compare
07eb2ef
to
d380e36
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.
Is there any test results?
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.
Please add some description about these changes.
server/server.go
Outdated
if err := s.member.CampaignLeader(s.ctx, s.cfg.LeaderLease); err != nil { | ||
if err.Error() == errs.ErrEtcdTxnConflict.Error() { | ||
log.Info(fmt.Sprintf("campaign %s leader meets error due to txn conflict, another PD/API server may campaign successfully", s.mode), | ||
log.Info("campaign %PD leader meets error due to txn conflict, another PD/API server may campaign successfully", |
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.
log.Info("campaign %PD leader meets error due to txn conflict, another PD/API server may campaign successfully", | |
log.Info("campaign PD leader meets error due to txn conflict, another PD/API server may campaign successfully", |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
d380e36
to
dddb935
Compare
What problem does this PR solve?
Issue Number: ref #8477.
What is changed and how does it work?
Check List
Tests
Release note