Skip to content
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

create a connectivity checker #2980

Closed
xiang90 opened this issue Jun 13, 2015 · 4 comments
Closed

create a connectivity checker #2980

xiang90 opened this issue Jun 13, 2015 · 4 comments
Assignees
Milestone

Comments

@xiang90
Copy link
Contributor

xiang90 commented Jun 13, 2015

We want to detect any connectivity between each etcd members.

An idea is to have each member ping all other members' peerURL periodically (O(10second)) and generate a connectivity table.

This helps #1440 and detect any other potential connectivity problem.

@xiang90 xiang90 added this to the v2.2.0 milestone Jun 13, 2015
@xiang90 xiang90 self-assigned this Jun 13, 2015
@yichengq
Copy link
Contributor

I can foresee that the info can become a nice graph to indicate the connectivity in the cluster.

Maybe it could also rely on some external network monitor package to report all details, including network latency and drop package rate.

@xiang90
Copy link
Contributor Author

xiang90 commented Jun 13, 2015

@yichengq We should start with something really simple.

@xiang90
Copy link
Contributor Author

xiang90 commented Jun 16, 2015

Additional thought: contain timestamp in the ping message and detect absolute out of time sync members (>3second or more).

@xiang90
Copy link
Contributor Author

xiang90 commented Jul 9, 2015

Here is a pkg I just created: https://github.com/xiang90/probing

We would like to use it to let one peer probe every other peer periodically and print out warning/debug information when necessary.

For example:
Warning:
clockdiff > second
2 out of 3 peers are unhealthy
SRTT > heartbeat interval

Debug
1 out of 3 peers is unhealthy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants