-
Notifications
You must be signed in to change notification settings - Fork 773
feature:Use etcd to manager supernode ha cluster(HA first part) #694
Conversation
2b47ca2
to
65b0fdb
Compare
Codecov Report
@@ Coverage Diff @@
## master #694 +/- ##
==========================================
- Coverage 39.64% 39.57% -0.08%
==========================================
Files 109 109
Lines 6432 6459 +27
==========================================
+ Hits 2550 2556 +6
- Misses 3674 3692 +18
- Partials 208 211 +3
Continue to review full report at Codecov.
|
a42664a
to
3a94b63
Compare
3e1c2c4
to
2cf0ec8
Compare
Could you please add a simple usage document? THX. |
In addition, we should follow the following conventions when recording a log:
|
f00a01a
to
0b3e60e
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.
Could you please add a simple usage document? THX.
I will add a usage document in next pr, because user can use hr in cli config
05bdafc
to
5479f3b
Compare
@yunfeiyanggzq how about implement supernode manager and supernode locator with etcd ? |
ping @yunfeiyanggzq |
👍 also cc/ @lowzj |
* feat: add manager client list scheduler interface Signed-off-by: Gaius <[email protected]>
Signed-off-by: yunfeiyangbuaa [email protected]
Ⅰ. Describe what this PR did
to implement supernode ha,we use etcd to manager supernode ha cluster,every supernode should connects etcd and send suopernode information to etcd.other supernode will gets this information from etcd.supernode's on and off will be notified to other supernode.supernode will register a supernode peer when it find a new supernode is on in this cluster
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
my pr will be submitted as follows