Description
A data volume error occurred in your etcd cluster. The number of keys or leases may not match expectations, leading to increased operation risk.
Directions
Data Volume Error Troubleshooting
1. If the number of keys in your cluster is large, you can view the statistics of the key count in the cluster and check if it meets business expectations. If there is a significant difference, the business logic may not clear keys as expected, or accidental business writes are performed. Use the command-line tool etcdctl to export all keys for detailed comparison and troubleshooting.
etcdctl get "" --from-key --keys-only
2. If the number of leases in your cluster is large, you can use the command-line tool etcdctl to view the number of leases and check if it meets business expectations. If there is a significant difference, you can troubleshoot from the business side.
Suggestions in Case of a Large Data Volume
1. If the number of keys in your cluster exceeds 1,000,000, the operation risk is high. You are suggested to divide them on the business side and distribute them to multiple clusters.
2. If the number of leases in your cluster exceeds 100,000, the operation risk is high. You are suggested to divide them on the business side and distribute them to multiple clusters.
Viewing Statistics of the Cluster Key Count
2. Go to the etcd cluster list page, select the region at the top of the page, and find the target etcd cluster in the cluster list below.
3. Click the icon of the corresponding cluster in the cluster list to enter the instance detail page, and then click Instance monitoring.