-
Notifications
You must be signed in to change notification settings - Fork 43
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
Handle etcd compacted revisions #208
Comments
I noticed this too when I was testing failover. The new leader requires a restart of vip-manager. Im trying to figure out a way to auto restart vip-manager daemon using monit on failover. |
Any chance you guys can throw me a link to get idea of compacted revisions without chatting with AI or Google? :) Thanks in advance! |
I guess I am less aware of "compacted revisions" and more referring to auto-recovery. I am using vip-manager as part of https://github.com/vitabaks/postgresql_cluster. If I hard stop (power off the VM, simulating a hardware failure) the leader of the cluster, vip-manager never recovers until I restart vip-manager on the new leader. Sorry for the confusion. |
Hi! @pashagolub, I used the official etcd documentation (https://etcd.io/docs/v3.5/op-guide/maintenance/) the Auto Compression block when in the repository https://github.com/vitabaks/postgresql_cluster added PR with the addition of the compression function of the internal database ETCD. |
@pashagolub please help.
maybe it will be enough to simply retry here to re-read the value of the latest version of the key? |
I'd rather fix this error. But I cannot find how I can reproduce it in a simple way |
Add Example:
Or use postgresql_cluster to deploy the Postgres cluster (with vip-manager) or to deploy ETCD cluster only. |
@pashagolub, Hi, there is new information. |
Hi people. Would you please try #217 Thanks in advance! |
@pashagolub Hi! Upd: |
vip-manager currently doesn't seem to handle etcd compacted revisions gracefully:
Restarting vip-manager fixes this, but of course the database is not accessible until then.
The text was updated successfully, but these errors were encountered: