-
Notifications
You must be signed in to change notification settings - Fork 315
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
add etcd watch design documentation #40
Conversation
👍 this should be a good beginning of watch. |
@@ -0,0 +1,88 @@ | |||
# Overview | |||
|
|||
The EtcdWatch provide methods to watch on a key and cancel a watcher, if the watcher is disconnected on error, it will be resumed automatically. |
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.
"cancel a watcher. If ..."
Use "."
@StupidHod @adohe |
@hongchaodeng yes, we should examine the goals before we start the implementation. |
91f6699
to
f6e9dea
Compare
23c28d6
to
3e8d91e
Compare
@StupidHod So this works pretty similar to the go version? |
@@ -0,0 +1,110 @@ | |||
# Overview | |||
|
|||
The EtcdWatch provide methods to watch on a key and cancel a watcher. If the watcher is disconnected on error, it will be resumed automatically. |
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/key/key interval
The design doc looks good. Let's clean it up and get it merged. |
@xiang90 , thanks for your advice, I have cleared it up with your tips. |
@@ -0,0 +1,110 @@ | |||
# Overview |
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.
replace all Etcd with etcd (including file name)
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.
OK.
Ok, I have corrected it. |
LGTM |
Hope for your advice, @xiang90 @adohe