From 64e3e2fb2d234d6b686065404c00d56d3e82bdab Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 29 Aug 2016 18:15:16 +0200 Subject: [PATCH] Formatting fix --- docs/pause.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/pause.rst b/docs/pause.rst index 64f733b0..f489a078 100644 --- a/docs/pause.rst +++ b/docs/pause.rst @@ -23,9 +23,7 @@ When Patroni runs in a paused mode, it does not change the state of PostgreSQL, - If 'parallel' masters are detected by Patroni, it emits a warning, but does not demote the masters without the leader lock. -- If there is no leader lock in the cluster, the running master acquires the lock. If there is more than one master node, then the first master to acquire the lock wins. If there are no masters altogether, Patroni does not try to promote any replicas. There is an exception in this rule: if there is no leader lock because the old master has demoted itself due to the manual promotion, then only the candidate node mentioned in the promotion request may take the leader lock. - -When the new leader lock is granted (i.e. after promoting a replica manually), Patroni makes sure the replicas that were streaming from the previous leader will switch to the new one. +- If there is no leader lock in the cluster, the running master acquires the lock. If there is more than one master node, then the first master to acquire the lock wins. If there are no masters altogether, Patroni does not try to promote any replicas. There is an exception in this rule: if there is no leader lock because the old master has demoted itself due to the manual promotion, then only the candidate node mentioned in the promotion request may take the leader lock. When the new leader lock is granted (i.e. after promoting a replica manually), Patroni makes sure the replicas that were streaming from the previous leader will switch to the new one. - When Postgres is stopped, Patroni does not try to start it. When Patroni is stopped, it does not to stop Postgres instance it is managing.