Comments (5)
I disagree that doing initdb anew is a proper automatic recovery procedure for the Patroni cluster that irrevocably lost all its nodes at the same time, which is what you seem to be suggesting with the lock expiration strategy. Could you, please, describe you specific situation where you think it makes sense?
from patroni.
Oh, I don't know that it should happen automatically. I just think there should be a better mechanism to get out of a cluster which failed to start than "curl -XDELETE". Maybe this is a job for the CLI, will look.
from patroni.
patronictl remove
works, but it is very paranoid and asks multiple confirmations. We could implement --force
on patronictl
, which would wipe out the cluster from the DCS with force.
from patroni.
+1 on this.
from patroni.
@jberkus Is there something more we should do to address your concerns on this one?
from patroni.
Related Issues (20)
- 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
- cp in patroni 3.2.2 could not finish archiving the wal log. HOT 2
- FATAL: could not connect to the primary server: connection to server at "x.x.x.x", port 5432 failed: session is read-only HOT 3
- Failed to get list of machines from V3<Unknown error: '404 page not found', HOT 1
- patronictl does not work HOT 1
- Patroni synchronous replication not working HOT 2
- DOC TIP on pg_ctl and wal_keep_segments HOT 1
- Need Help in Setting up docker-compose-citus.yaml HOT 2
- RAFT - failed to update leader lock HOT 1
- Acceptance tests fail on Debian unstable for Postgres < 12 HOT 5
- Failed to determine PostgreSQL state from the connection HOT 1
- Parameters such as max_connections, max_replication_slots, etc changed. No apparent way to find out how, by who, what or when change occurred. HOT 1
- Patroni changed leader for some reason HOT 12
- Do not check if Port is already in use with --validate-config
- Migrate setup.py to pyproject.toml HOT 1
- max_connection value doesn't work unless you do with patronictl edit-config HOT 3
- List order of sync_standby is inconsistent with synchronous_standby_names
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.