-
-
Notifications
You must be signed in to change notification settings - Fork 436
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 file 2GB #528
Comments
@mobius77 What is stored in this etcd cluster? In my case, the etcd cluster used by two Patroni clusters for the last 5 years takes about 370M
Generated by GPTThe error you're encountering, "etcdserver: mvcc: database space exceeded," indicates that your etcd database has reached its storage limit. This can hinder the operation of services relying on etcd, like Patroni. Here are some steps to address this issue:
Before making any changes, especially those involving data deletion or snapshot and restore, ensure you have a recent backup of the etcd data. Also, consider testing these procedures in a non-production environment first to understand their impact and effectiveness. |
How to debug large db size issue |
@mobius77 You can increase the database quota in etcd (e.q. to 4 GB) by adding an option to the configuration file
This setting sets the etcd database size quota to 4 GB. After adding this line to the configuration file, you will need to restart etcd for the changes to take effect. https://etcd.io/docs/v3.4/op-guide/configuration/#--quota-backend-bytes |
PR (auto_compaction): #562 |
I've got error from patroni: etcdserver: mvcc: database space exceeded
etcdctl compact and etcdctl defrag didn't help.
How i can increase limit for etcd or how to compress DB?
Please help.
The text was updated successfully, but these errors were encountered: