This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
авг 14 13:47:48 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:48,720 INFO: Lock owner: pgsql-main-2; I am pgsql-main-0 | |
авг 14 13:47:48 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:48,720 INFO: does not have lock | |
авг 14 13:47:48 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:48,724 INFO: no action. i am a secondary and i am following a leader | |
авг 14 13:47:58 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:58,369 INFO: Lock owner: pgsql-main-2; I am pgsql-main-0 | |
авг 14 13:47:58 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:58,369 INFO: does not have lock | |
авг 14 13:47:58 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:47:58,371 INFO: no action. i am a secondary and i am following a leader | |
авг 14 13:48:04 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:48:04,664 INFO: Starting new HTTP connection (2): 172.29.10.58 | |
авг 14 13:48:04 pgsql-main-0 patroni.py[3954]: 2018-08-14 13:48:04,667 INFO: received switchover request with leader=pgsql-main-2 candidate=pgsql-main-0 scheduled_at=None | |
авг 14 13:48:04 pgsql-main- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
авг 14 13:48:12 pgsql-main-2 patroni.py[28436]: 2018-08-14 13:48:12,792 INFO: Lock owner: pgsql-main-2; I am pgsql-main-2 | |
авг 14 13:48:12 pgsql-main-2 patroni.py[28436]: 2018-08-14 13:48:12,800 INFO: Got response from pgsql-main-0 http://172.29.10.58:8008/patroni: {"database_system_identifier": "6589191000674292929", "postmaster_start_time": "2018-08-14 13:40:48.148 UTC", "timeline": 23, "xlog": {"received_location": 503504872, "replayed_timestamp": "2018-08-14 13:43:39.465 UTC", "paused": false, "replayed_location": 503504872}, "patroni": {"scope": "pgsql-main", "version": "1.4.5"}, "state": "running", "role": "replica", "server_version": 100005} | |
авг 14 13:48:12 pgsql-main-2 patroni.py[28436]: 2018-08-14 13:48:12,906 INFO: manual failover: demoting myself | |
авг 14 13:48:13 pgsql-main-2 patroni.py[28436]: 2018-08-14 13:48:13,057 INFO: Leader key released | |
авг 14 13:48:15 pgsql-main-2 patroni.py[28436]: 2018-08-14 13:48:15,063 INFO: closed patroni connection to the postgresql cluster | |
авг 14 13:48:15 pgsql-main-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'pgsql-main-0' | |
scope: &scope 'pgsql-main' | |
consul: | |
host: '172.29.10.58' | |
restapi: | |
listen: 172.29.10.58:8008 | |
connect_address: 172.29.10.58:8008 | |
auth: 'username:123123123' |
NewerOlder