-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
ETCD DB size metrics is not correct sometimes #8080
Comments
The endpoint status is right before & after taking snapshot. |
armstrongli
changed the title
ETCD metrics is not correct sometimes
ETCD DB size metrics is not correct sometimes
Jun 12, 2017
The database size is a debugging metrics and is calculated lazily. If there is no new data committed, it wont be updated. |
can you share me a script that i can run locally to reproduce it? |
Just need to create one cluster with v3.0.15 & v3.1.8 together, and run benchmark on it. And that's all. |
heyitsanthony
pushed a commit
to heyitsanthony/etcd
that referenced
this issue
Jun 16, 2017
gyuho
pushed a commit
that referenced
this issue
Jun 20, 2017
yudai
pushed a commit
to yudai/etcd
that referenced
this issue
Oct 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We encountered this issue while the DB size is larger than 5GB when re-adding members back to the cluster.
The follow I have is:
The DB size reported by ETCD servers is 0.
After taking one snapshot, all the DB size is back to normal.
Here are the metrics I
curl
from one of the membermetrics-before-snapshot.txt.zip
metrics-after-snapshot.txt.zip
Cluster endpoint status
The text was updated successfully, but these errors were encountered: