Comments (2)
Patroni currently only forces termination in synchronous mode (see primary_stop_timeout parameter)
Regarding the original issue, it is really the problem of libraries not implementing replication protocol correctly. Patroni just waits for the clean shutdown (which is not possible given there is at least one walsender that hasn't got the confirmation of all the changes being received).
JFYI the problem of endless shutdown should have been fixed in pgjdbc v42.7.0 - Use KeepAlive to confirm LSNs
(although I don't know what you are actually using in the client application)
from patroni.
And please make sure you actually checked the previously opened issues - this was discussed many times
from patroni.
Related Issues (20)
- Intermittent "ERROR: Can not fetch local timeline and lsn from replication connection" HOT 1
- patronictl -c /etc/patroni/~postgres-operator_cluster.yaml restart cluster is reverting the log_level configuration HOT 1
- Randomly exception on same patroni configuration HOT 2
- Consul service checks failing when TLS is enabled on Patroni Rest API HOT 5
- failover to async replica in healthy synchronous_mode cluster return 503 HOT 2
- Generated pg_basebackup command should be logged HOT 6
- strange behavior of the restore_command HOT 1
- HAProxy node in Patroni does not failing over with Zookeeper HA in Docker Swarm HOT 5
- patroni error python after Migration patroni 2.1.1 and patroni-etcd 2.1.1 to patroni-3.2.1 and patroni-etcd-3.2.1 HOT 10
- load available_parameters/0_postgres.yml failed silently when package using zipapp
- Ability to use specific postgrespro parameters in patroni HOT 1
- Error on first switchover with message: Invalid auth token
- postgres glibc issue post migration from CentOS -> Rocky HOT 2
- Master Postgres Pod Was Out Of Memory - Postgres Was Inaccessible. HOT 1
- Patroni switchover standby cluster to primary cluster data is not replicate. HOT 2
- Updating the unix_socket_directories using patronictl edit-config does not reflect in patroni config file HOT 1
- patronictl failed to start when PATRONI_CONFIGURATION variable is set HOT 2
- synchronous_standby_names removed by Patroni in PostgreSQL synchronous replication mode HOT 1
- failsafe_mode don't work when k8s return 409 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patroni.