-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: use etcd for privilege update notification #3030
Conversation
PD already have etcd embed, take full use of it.
can you update vendor in another pr ? |
I'll rebase it after #3032 |
ff60b6e
to
86ba2e2
Compare
domain/notify/notify.go
Outdated
@@ -0,0 +1,34 @@ | |||
// Copyright 2015 PingCAP, Inc. |
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.
s/2015/2017
session.go
Outdated
DialTimeout: 5 * time.Second, | ||
}) | ||
if err != nil { | ||
return dom, errors.Trace(err) |
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.
s/dom/nil
domain/domain.go
Outdated
} | ||
case <-do.exit: | ||
return | ||
// if etcd is available, notification i |
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 complete this comment.
Do you forget to replace the |
We don't need to make a |
PTAL @coocood @hanfei1991 @zimulala |
LGTM |
LGTM |
PD already have etcd embed, take full use of it.