Skip to content

Instantly share code, notes, and snippets.

@aknuds1
Created January 4, 2019 09:43
Show Gist options
  • Save aknuds1/79702a92e1617bfd62876bdf56cee7dd to your computer and use it in GitHub Desktop.
Save aknuds1/79702a92e1617bfd62876bdf56cee7dd to your computer and use it in GitHub Desktop.
Postgres operator Postgresql logs
We can't make this file beautiful and searchable because it's too large.
2019-01-02 22:26:57.900 UTC,,,82,,5c2d3ab1.52,1,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,""
2019-01-02 22:26:57.907 UTC,,,85,,5c2d3ab1.55,1,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2019-01-02 22:26:54 UTC",,,,,,,,,""
2019-01-02 22:26:57.976 UTC,,,85,,5c2d3ab1.55,2,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:26:57.984 UTC,,,85,,5c2d3ab1.55,3,,2019-01-02 22:26:57 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:26:57.987 UTC,,,85,,5c2d3ab1.55,4,,2019-01-02 22:26:57 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/130000F8",,,,,,,,,""
2019-01-02 22:26:57.988 UTC,,,82,,5c2d3ab1.52,2,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:26:58.017 UTC,,,90,,5c2d3ab1.5a,1,,2019-01-02 22:26:57 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:26:58.103 UTC,,,93,,5c2d3ab2.5d,1,,2019-01-02 22:26:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:26:58.760 UTC,,,95,"[local]",5c2d3ab2.5f,1,"",2019-01-02 22:26:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:26:58.760 UTC,"postgres","postgres",95,"[local]",5c2d3ab2.5f,2,"authentication",2019-01-02 22:26:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:26:58.763 UTC,"postgres","postgres",95,"[local]",5c2d3ab2.5f,3,"idle",2019-01-02 22:26:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.003 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:26:58.774 UTC,,,97,"[local]",5c2d3ab2.61,1,"",2019-01-02 22:26:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:26:58.774 UTC,"postgres","postgres",97,"[local]",5c2d3ab2.61,2,"authentication",2019-01-02 22:26:58 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:26:58.778 UTC,"postgres","postgres",97,"[local]",5c2d3ab2.61,3,"idle",2019-01-02 22:26:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.004 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:26:58.866 UTC,,,99,"[local]",5c2d3ab2.63,1,"",2019-01-02 22:26:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:26:58.866 UTC,"postgres","postgres",99,"[local]",5c2d3ab2.63,2,"authentication",2019-01-02 22:26:58 UTC,3/3,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:26:58.871 UTC,,,100,"127.0.0.1:48056",5c2d3ab2.64,1,"",2019-01-02 22:26:58 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48056",,,,,,,,,""
2019-01-02 22:26:58.875 UTC,"standby","",100,"127.0.0.1:48056",5c2d3ab2.64,2,"authentication",2019-01-02 22:26:58 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:26:58.879 UTC,"standby","",100,"127.0.0.1:48056",5c2d3ab2.64,3,"idle",2019-01-02 22:26:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.007 user=standby database= host=127.0.0.1 port=48056",,,,,,,,,""
2019-01-02 22:27:02.441 UTC,,,82,,5c2d3ab1.52,3,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 89) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:02.441 UTC,,,82,,5c2d3ab1.52,4,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:02.441 UTC,"postgres","postgres",99,"[local]",5c2d3ab2.63,3,"idle",2019-01-02 22:26:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:02.451 UTC,,,82,,5c2d3ab1.52,5,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:02.858 UTC,,,105,,5c2d3ab6.69,1,,2019-01-02 22:27:02 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:02.907 UTC,,,105,,5c2d3ab6.69,2,,2019-01-02 22:27:02 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:02.953 UTC,,,105,,5c2d3ab6.69,3,,2019-01-02 22:27:02 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:02.953 UTC,,,105,,5c2d3ab6.69,4,,2019-01-02 22:27:02 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/130000F8",,,,,,,,,""
2019-01-02 22:27:02.954 UTC,,,82,,5c2d3ab1.52,6,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:03.386 UTC,,,110,,5c2d3ab6.6e,1,,2019-01-02 22:27:02 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:03.406 UTC,,,113,,5c2d3ab7.71,1,,2019-01-02 22:27:03 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:07.449 UTC,,,82,,5c2d3ab1.52,7,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 109) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:07.449 UTC,,,82,,5c2d3ab1.52,8,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:07.455 UTC,,,82,,5c2d3ab1.52,9,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:08.062 UTC,,,114,,5c2d3abc.72,1,,2019-01-02 22:27:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:08.107 UTC,,,114,,5c2d3abc.72,2,,2019-01-02 22:27:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:08.113 UTC,,,114,,5c2d3abc.72,3,,2019-01-02 22:27:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:08.153 UTC,,,114,,5c2d3abc.72,4,,2019-01-02 22:27:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/130000F8",,,,,,,,,""
2019-01-02 22:27:08.155 UTC,,,82,,5c2d3ab1.52,10,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:08.280 UTC,,,119,,5c2d3abc.77,1,,2019-01-02 22:27:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:08.474 UTC,,,119,,5c2d3abc.77,2,,2019-01-02 22:27:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:08.476 UTC,,,114,,5c2d3abc.72,5,,2019-01-02 22:27:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004670: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:08.754 UTC,,,123,"[local]",5c2d3abc.7b,1,"",2019-01-02 22:27:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:08.755 UTC,"postgres","postgres",123,"[local]",5c2d3abc.7b,2,"authentication",2019-01-02 22:27:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:08.914 UTC,,,122,,5c2d3abc.7a,1,,2019-01-02 22:27:08 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:12.655 UTC,,,82,,5c2d3ab1.52,11,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 118) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:12.655 UTC,,,82,,5c2d3ab1.52,12,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:12.655 UTC,"postgres","postgres",123,"[local]",5c2d3abc.7b,3,"idle",2019-01-02 22:27:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:12.663 UTC,,,82,,5c2d3ab1.52,13,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:13.154 UTC,,,128,,5c2d3ac1.80,1,,2019-01-02 22:27:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:13.212 UTC,,,128,,5c2d3ac1.80,2,,2019-01-02 22:27:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:13.218 UTC,,,128,,5c2d3ac1.80,3,,2019-01-02 22:27:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:13.542 UTC,,,128,,5c2d3ac1.80,4,,2019-01-02 22:27:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:13.554 UTC,,,82,,5c2d3ab1.52,14,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:13.554 UTC,,,128,,5c2d3ac1.80,5,,2019-01-02 22:27:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004670: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:13.592 UTC,,,133,,5c2d3ac1.85,1,,2019-01-02 22:27:13 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:13.799 UTC,,,133,,5c2d3ac1.85,2,,2019-01-02 22:27:13 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:13.800 UTC,,,128,,5c2d3ac1.80,6,,2019-01-02 22:27:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/140046E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:14.158 UTC,,,136,,5c2d3ac1.88,1,,2019-01-02 22:27:13 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:18.025 UTC,,,82,,5c2d3ab1.52,15,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 132) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:18.025 UTC,,,82,,5c2d3ab1.52,16,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:18.030 UTC,,,82,,5c2d3ab1.52,17,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:18.457 UTC,,,137,,5c2d3ac6.89,1,,2019-01-02 22:27:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:18.515 UTC,,,137,,5c2d3ac6.89,2,,2019-01-02 22:27:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:18.554 UTC,,,137,,5c2d3ac6.89,3,,2019-01-02 22:27:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:18.658 UTC,,,140,"[local]",5c2d3ac6.8c,1,"",2019-01-02 22:27:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:18.659 UTC,"postgres","postgres",140,"[local]",5c2d3ac6.8c,2,"",2019-01-02 22:27:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:27:18.674 UTC,,,137,,5c2d3ac6.89,4,,2019-01-02 22:27:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:18.674 UTC,,,137,,5c2d3ac6.89,5,,2019-01-02 22:27:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/140046E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:18.675 UTC,,,82,,5c2d3ab1.52,18,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:18.685 UTC,,,145,"[local]",5c2d3ac6.91,1,"",2019-01-02 22:27:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:18.686 UTC,"postgres","postgres",145,"[local]",5c2d3ac6.91,2,"authentication",2019-01-02 22:27:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:18.760 UTC,"postgres","postgres",145,"[local]",5c2d3ac6.91,3,"idle",2019-01-02 22:27:18 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.075 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:27:18.803 UTC,,,144,,5c2d3ac6.90,1,,2019-01-02 22:27:18 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:18.909 UTC,,,152,"[local]",5c2d3ac6.98,1,"",2019-01-02 22:27:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:18.909 UTC,"postgres","postgres",152,"[local]",5c2d3ac6.98,2,"authentication",2019-01-02 22:27:18 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:19.104 UTC,,,144,,5c2d3ac6.90,2,,2019-01-02 22:27:18 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:19.105 UTC,,,137,,5c2d3ac6.89,6,,2019-01-02 22:27:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004750: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:19.489 UTC,,,157,,5c2d3ac7.9d,1,,2019-01-02 22:27:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:23.324 UTC,,,82,,5c2d3ab1.52,19,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 143) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:23.324 UTC,,,82,,5c2d3ab1.52,20,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:23.324 UTC,"postgres","postgres",152,"[local]",5c2d3ac6.98,3,"idle",2019-01-02 22:27:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:23.332 UTC,,,82,,5c2d3ab1.52,21,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:23.854 UTC,,,158,,5c2d3acb.9e,1,,2019-01-02 22:27:23 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:23.922 UTC,,,158,,5c2d3acb.9e,2,,2019-01-02 22:27:23 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:23.954 UTC,,,158,,5c2d3acb.9e,3,,2019-01-02 22:27:23 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:24.058 UTC,,,158,,5c2d3acb.9e,4,,2019-01-02 22:27:23 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:24.059 UTC,,,82,,5c2d3ab1.52,22,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:24.059 UTC,,,158,,5c2d3acb.9e,5,,2019-01-02 22:27:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004750: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:24.096 UTC,,,163,,5c2d3acc.a3,1,,2019-01-02 22:27:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:24.584 UTC,,,163,,5c2d3acc.a3,2,,2019-01-02 22:27:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:24.584 UTC,,,158,,5c2d3acb.9e,6,,2019-01-02 22:27:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/140047C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:24.996 UTC,,,166,,5c2d3acc.a6,1,,2019-01-02 22:27:24 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:28.544 UTC,,,82,,5c2d3ab1.52,23,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 162) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:28.544 UTC,,,82,,5c2d3ab1.52,24,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:28.549 UTC,,,82,,5c2d3ab1.52,25,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:28.814 UTC,,,167,,5c2d3ad0.a7,1,,2019-01-02 22:27:28 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:28.875 UTC,,,167,,5c2d3ad0.a7,2,,2019-01-02 22:27:28 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:28.882 UTC,,,167,,5c2d3ad0.a7,3,,2019-01-02 22:27:28 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:29.042 UTC,,,167,,5c2d3ad0.a7,4,,2019-01-02 22:27:28 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:29.042 UTC,,,82,,5c2d3ab1.52,26,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:29.043 UTC,,,167,,5c2d3ad0.a7,5,,2019-01-02 22:27:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/140047C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:29.090 UTC,,,172,,5c2d3ad1.ac,1,,2019-01-02 22:27:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:29.554 UTC,,,175,"[local]",5c2d3ad1.af,1,"",2019-01-02 22:27:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:29.554 UTC,"postgres","postgres",175,"[local]",5c2d3ad1.af,2,"authentication",2019-01-02 22:27:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:30.098 UTC,,,172,,5c2d3ad1.ac,2,,2019-01-02 22:27:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:30.153 UTC,,,167,,5c2d3ad0.a7,6,,2019-01-02 22:27:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004830: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:30.661 UTC,,,180,,5c2d3ad2.b4,1,,2019-01-02 22:27:30 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:33.566 UTC,,,82,,5c2d3ab1.52,27,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 171) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:33.566 UTC,,,82,,5c2d3ab1.52,28,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:33.567 UTC,"postgres","postgres",175,"[local]",5c2d3ad1.af,3,"idle",2019-01-02 22:27:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:33.575 UTC,,,82,,5c2d3ab1.52,29,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:33.838 UTC,,,181,,5c2d3ad5.b5,1,,2019-01-02 22:27:33 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:33.900 UTC,,,181,,5c2d3ad5.b5,2,,2019-01-02 22:27:33 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:33.907 UTC,,,181,,5c2d3ad5.b5,3,,2019-01-02 22:27:33 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:34.052 UTC,,,181,,5c2d3ad5.b5,4,,2019-01-02 22:27:33 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:34.053 UTC,,,82,,5c2d3ab1.52,30,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:34.053 UTC,,,181,,5c2d3ad5.b5,5,,2019-01-02 22:27:33 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004830: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:34.075 UTC,,,186,,5c2d3ad6.ba,1,,2019-01-02 22:27:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:36.524 UTC,,,186,,5c2d3ad6.ba,2,,2019-01-02 22:27:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:36.524 UTC,,,181,,5c2d3ad5.b5,6,,2019-01-02 22:27:33 UTC,1/0,0,LOG,00000,"invalid record length at 0/140048A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:36.997 UTC,,,189,,5c2d3ad8.bd,1,,2019-01-02 22:27:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:38.482 UTC,,,82,,5c2d3ab1.52,31,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 185) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:38.482 UTC,,,82,,5c2d3ab1.52,32,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:38.489 UTC,,,82,,5c2d3ab1.52,33,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:38.831 UTC,,,191,"[local]",5c2d3ada.bf,1,"",2019-01-02 22:27:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:38.831 UTC,"postgres","postgres",191,"[local]",5c2d3ada.bf,2,"",2019-01-02 22:27:38 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:38.833 UTC,,,190,,5c2d3ada.be,1,,2019-01-02 22:27:38 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:38.846 UTC,,,193,"[local]",5c2d3ada.c1,1,"",2019-01-02 22:27:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:38.847 UTC,"postgres","postgres",193,"[local]",5c2d3ada.c1,2,"",2019-01-02 22:27:38 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:38.961 UTC,,,190,,5c2d3ada.be,2,,2019-01-02 22:27:38 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:38.968 UTC,,,190,,5c2d3ada.be,3,,2019-01-02 22:27:38 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:39.075 UTC,,,190,,5c2d3ada.be,4,,2019-01-02 22:27:38 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:39.075 UTC,,,82,,5c2d3ab1.52,34,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:39.076 UTC,,,190,,5c2d3ada.be,5,,2019-01-02 22:27:38 UTC,1/0,0,LOG,00000,"invalid record length at 0/140048A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:39.187 UTC,,,202,,5c2d3adb.ca,1,,2019-01-02 22:27:39 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:42.253 UTC,,,202,,5c2d3adb.ca,2,,2019-01-02 22:27:39 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:42.255 UTC,,,190,,5c2d3ada.be,6,,2019-01-02 22:27:38 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004910: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:42.563 UTC,,,205,,5c2d3ade.cd,1,,2019-01-02 22:27:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:43.492 UTC,,,82,,5c2d3ab1.52,35,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 201) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:43.492 UTC,,,82,,5c2d3ab1.52,36,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:43.499 UTC,,,82,,5c2d3ab1.52,37,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:43.957 UTC,,,206,,5c2d3adf.ce,1,,2019-01-02 22:27:43 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:44.019 UTC,,,206,,5c2d3adf.ce,2,,2019-01-02 22:27:43 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:44.053 UTC,,,206,,5c2d3adf.ce,3,,2019-01-02 22:27:43 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:44.221 UTC,,,206,,5c2d3adf.ce,4,,2019-01-02 22:27:43 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:44.222 UTC,,,82,,5c2d3ab1.52,38,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:44.222 UTC,,,206,,5c2d3adf.ce,5,,2019-01-02 22:27:43 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004910: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:44.287 UTC,,,211,,5c2d3ae0.d3,1,,2019-01-02 22:27:44 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:47.353 UTC,,,211,,5c2d3ae0.d3,2,,2019-01-02 22:27:44 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:47.355 UTC,,,206,,5c2d3adf.ce,6,,2019-01-02 22:27:43 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004980: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:47.854 UTC,,,214,,5c2d3ae3.d6,1,,2019-01-02 22:27:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:48.254 UTC,,,216,"[local]",5c2d3ae4.d8,1,"",2019-01-02 22:27:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:48.255 UTC,"postgres","postgres",216,"[local]",5c2d3ae4.d8,2,"authentication",2019-01-02 22:27:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:48.261 UTC,"postgres","postgres",216,"[local]",5c2d3ae4.d8,3,"idle",2019-01-02 22:27:48 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:27:48.268 UTC,,,217,"[local]",5c2d3ae4.d9,1,"",2019-01-02 22:27:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:48.269 UTC,"postgres","postgres",217,"[local]",5c2d3ae4.d9,2,"authentication",2019-01-02 22:27:48 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:48.677 UTC,,,82,,5c2d3ab1.52,39,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 210) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:48.677 UTC,,,82,,5c2d3ab1.52,40,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:48.677 UTC,"postgres","postgres",217,"[local]",5c2d3ae4.d9,3,"idle",2019-01-02 22:27:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:48.753 UTC,,,82,,5c2d3ab1.52,41,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:49.054 UTC,,,222,,5c2d3ae5.de,1,,2019-01-02 22:27:49 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:49.108 UTC,,,222,,5c2d3ae5.de,2,,2019-01-02 22:27:49 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:49.115 UTC,,,222,,5c2d3ae5.de,3,,2019-01-02 22:27:49 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:49.423 UTC,,,222,,5c2d3ae5.de,4,,2019-01-02 22:27:49 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:49.453 UTC,,,82,,5c2d3ab1.52,42,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:49.453 UTC,,,222,,5c2d3ae5.de,5,,2019-01-02 22:27:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004980: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:49.491 UTC,,,227,,5c2d3ae5.e3,1,,2019-01-02 22:27:49 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:52.579 UTC,,,227,,5c2d3ae5.e3,2,,2019-01-02 22:27:49 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:52.581 UTC,,,222,,5c2d3ae5.de,6,,2019-01-02 22:27:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/140049F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:53.071 UTC,,,230,,5c2d3ae8.e6,1,,2019-01-02 22:27:52 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:54.051 UTC,,,82,,5c2d3ab1.52,43,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 226) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:54.051 UTC,,,82,,5c2d3ab1.52,44,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:54.058 UTC,,,82,,5c2d3ab1.52,45,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:54.357 UTC,,,235,,5c2d3aea.eb,1,,2019-01-02 22:27:54 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:54.461 UTC,,,235,,5c2d3aea.eb,2,,2019-01-02 22:27:54 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:54.467 UTC,,,235,,5c2d3aea.eb,3,,2019-01-02 22:27:54 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:27:54.629 UTC,,,235,,5c2d3aea.eb,4,,2019-01-02 22:27:54 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:27:54.629 UTC,,,82,,5c2d3ab1.52,46,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:27:54.629 UTC,,,235,,5c2d3aea.eb,5,,2019-01-02 22:27:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/140049F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:54.691 UTC,,,240,,5c2d3aea.f0,1,,2019-01-02 22:27:54 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:27:57.953 UTC,,,240,,5c2d3aea.f0,2,,2019-01-02 22:27:54 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:27:57.955 UTC,,,235,,5c2d3aea.eb,6,,2019-01-02 22:27:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004A60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:27:58.386 UTC,,,243,,5c2d3aed.f3,1,,2019-01-02 22:27:57 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:27:58.553 UTC,,,244,"[local]",5c2d3aee.f4,1,"",2019-01-02 22:27:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:27:58.554 UTC,"postgres","postgres",244,"[local]",5c2d3aee.f4,2,"authentication",2019-01-02 22:27:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:27:58.864 UTC,,,249,"127.0.0.1:48140",5c2d3aee.f9,1,"",2019-01-02 22:27:58 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48140",,,,,,,,,""
2019-01-02 22:27:58.871 UTC,"standby","",249,"127.0.0.1:48140",5c2d3aee.f9,2,"authentication",2019-01-02 22:27:58 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:27:58.873 UTC,"standby","",249,"127.0.0.1:48140",5c2d3aee.f9,3,"idle",2019-01-02 22:27:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.009 user=standby database= host=127.0.0.1 port=48140",,,,,,,,,""
2019-01-02 22:27:59.245 UTC,,,82,,5c2d3ab1.52,47,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 239) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:27:59.245 UTC,,,82,,5c2d3ab1.52,48,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:27:59.245 UTC,"postgres","postgres",244,"[local]",5c2d3aee.f4,3,"idle",2019-01-02 22:27:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:27:59.253 UTC,,,82,,5c2d3ab1.52,49,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:27:59.854 UTC,,,254,,5c2d3aef.fe,1,,2019-01-02 22:27:59 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:27:59.916 UTC,,,254,,5c2d3aef.fe,2,,2019-01-02 22:27:59 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:27:59.953 UTC,,,254,,5c2d3aef.fe,3,,2019-01-02 22:27:59 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:00.037 UTC,,,254,,5c2d3aef.fe,4,,2019-01-02 22:27:59 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:00.053 UTC,,,82,,5c2d3ab1.52,50,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:00.053 UTC,,,254,,5c2d3aef.fe,5,,2019-01-02 22:27:59 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004A60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:00.090 UTC,,,259,,5c2d3af0.103,1,,2019-01-02 22:28:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:03.353 UTC,,,259,,5c2d3af0.103,2,,2019-01-02 22:28:00 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:03.355 UTC,,,254,,5c2d3aef.fe,6,,2019-01-02 22:27:59 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004AD0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:03.875 UTC,,,262,,5c2d3af3.106,1,,2019-01-02 22:28:03 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:04.548 UTC,,,82,,5c2d3ab1.52,51,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 258) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:04.548 UTC,,,82,,5c2d3ab1.52,52,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:04.557 UTC,,,82,,5c2d3ab1.52,53,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:04.811 UTC,,,263,,5c2d3af4.107,1,,2019-01-02 22:28:04 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:04.868 UTC,,,263,,5c2d3af4.107,2,,2019-01-02 22:28:04 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:05.153 UTC,,,263,,5c2d3af4.107,3,,2019-01-02 22:28:04 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:05.400 UTC,,,263,,5c2d3af4.107,4,,2019-01-02 22:28:04 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:05.401 UTC,,,82,,5c2d3ab1.52,54,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:05.401 UTC,,,263,,5c2d3af4.107,5,,2019-01-02 22:28:04 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004AD0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:05.468 UTC,,,268,,5c2d3af5.10c,1,,2019-01-02 22:28:05 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:08.857 UTC,,,271,"[local]",5c2d3af8.10f,1,"",2019-01-02 22:28:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:08.858 UTC,"postgres","postgres",271,"[local]",5c2d3af8.10f,2,"authentication",2019-01-02 22:28:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:28:09.453 UTC,,,268,,5c2d3af5.10c,2,,2019-01-02 22:28:05 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:09.454 UTC,,,263,,5c2d3af4.107,6,,2019-01-02 22:28:04 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004B40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:09.762 UTC,,,276,,5c2d3af9.114,1,,2019-01-02 22:28:09 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:09.975 UTC,,,82,,5c2d3ab1.52,55,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 267) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:09.975 UTC,,,82,,5c2d3ab1.52,56,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:09.975 UTC,"postgres","postgres",271,"[local]",5c2d3af8.10f,3,"idle",2019-01-02 22:28:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:28:09.985 UTC,,,82,,5c2d3ab1.52,57,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:10.453 UTC,,,277,,5c2d3afa.115,1,,2019-01-02 22:28:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:10.534 UTC,,,277,,5c2d3afa.115,2,,2019-01-02 22:28:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:10.546 UTC,,,277,,5c2d3afa.115,3,,2019-01-02 22:28:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:10.635 UTC,,,277,,5c2d3afa.115,4,,2019-01-02 22:28:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:10.636 UTC,,,82,,5c2d3ab1.52,58,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:10.636 UTC,,,277,,5c2d3afa.115,5,,2019-01-02 22:28:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004B40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:10.688 UTC,,,282,,5c2d3afa.11a,1,,2019-01-02 22:28:10 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:14.553 UTC,,,282,,5c2d3afa.11a,2,,2019-01-02 22:28:10 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:14.556 UTC,,,277,,5c2d3afa.115,6,,2019-01-02 22:28:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004BB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:15.061 UTC,,,82,,5c2d3ab1.52,59,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 281) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:15.061 UTC,,,82,,5c2d3ab1.52,60,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:15.071 UTC,,,82,,5c2d3ab1.52,61,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:15.456 UTC,,,286,,5c2d3aff.11e,1,,2019-01-02 22:28:15 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:15.554 UTC,,,286,,5c2d3aff.11e,2,,2019-01-02 22:28:15 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:15.561 UTC,,,286,,5c2d3aff.11e,3,,2019-01-02 22:28:15 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:15.698 UTC,,,286,,5c2d3aff.11e,4,,2019-01-02 22:28:15 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:15.698 UTC,,,82,,5c2d3ab1.52,62,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:15.699 UTC,,,286,,5c2d3aff.11e,5,,2019-01-02 22:28:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004BB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:15.794 UTC,,,291,,5c2d3aff.123,1,,2019-01-02 22:28:15 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:18.761 UTC,,,294,"[local]",5c2d3b02.126,1,"",2019-01-02 22:28:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:18.762 UTC,"postgres","postgres",294,"[local]",5c2d3b02.126,2,"authentication",2019-01-02 22:28:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:28:19.853 UTC,,,291,,5c2d3aff.123,2,,2019-01-02 22:28:15 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:19.855 UTC,,,286,,5c2d3aff.11e,6,,2019-01-02 22:28:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004C20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:20.098 UTC,,,299,,5c2d3b03.12b,1,,2019-01-02 22:28:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:20.172 UTC,,,82,,5c2d3ab1.52,63,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 290) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:20.172 UTC,,,82,,5c2d3ab1.52,64,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:20.172 UTC,"postgres","postgres",294,"[local]",5c2d3b02.126,3,"idle",2019-01-02 22:28:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:28:20.180 UTC,,,82,,5c2d3ab1.52,65,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:20.417 UTC,,,300,,5c2d3b04.12c,1,,2019-01-02 22:28:20 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:20.486 UTC,,,300,,5c2d3b04.12c,2,,2019-01-02 22:28:20 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:20.494 UTC,,,300,,5c2d3b04.12c,3,,2019-01-02 22:28:20 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:20.636 UTC,,,300,,5c2d3b04.12c,4,,2019-01-02 22:28:20 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:20.636 UTC,,,82,,5c2d3ab1.52,66,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:20.636 UTC,,,300,,5c2d3b04.12c,5,,2019-01-02 22:28:20 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004C20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:20.690 UTC,,,305,,5c2d3b04.131,1,,2019-01-02 22:28:20 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:25.153 UTC,,,305,,5c2d3b04.131,2,,2019-01-02 22:28:20 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:25.155 UTC,,,300,,5c2d3b04.12c,6,,2019-01-02 22:28:20 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004C90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:25.242 UTC,,,82,,5c2d3ab1.52,67,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 304) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:25.242 UTC,,,82,,5c2d3ab1.52,68,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:25.254 UTC,,,82,,5c2d3ab1.52,69,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:25.757 UTC,,,309,,5c2d3b09.135,1,,2019-01-02 22:28:25 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:25.860 UTC,,,309,,5c2d3b09.135,2,,2019-01-02 22:28:25 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:25.867 UTC,,,309,,5c2d3b09.135,3,,2019-01-02 22:28:25 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:25.998 UTC,,,309,,5c2d3b09.135,4,,2019-01-02 22:28:25 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:25.998 UTC,,,82,,5c2d3ab1.52,70,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:25.998 UTC,,,309,,5c2d3b09.135,5,,2019-01-02 22:28:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004C90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:26.087 UTC,,,314,,5c2d3b0a.13a,1,,2019-01-02 22:28:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:28.722 UTC,,,317,"[local]",5c2d3b0c.13d,1,"",2019-01-02 22:28:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:28.722 UTC,"postgres","postgres",317,"[local]",5c2d3b0c.13d,2,"authentication",2019-01-02 22:28:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:28:30.312 UTC,,,314,,5c2d3b0a.13a,2,,2019-01-02 22:28:26 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:30.313 UTC,,,309,,5c2d3b09.135,6,,2019-01-02 22:28:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004D00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:30.385 UTC,,,82,,5c2d3ab1.52,71,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 313) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:30.385 UTC,,,82,,5c2d3ab1.52,72,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:30.386 UTC,"postgres","postgres",317,"[local]",5c2d3b0c.13d,3,"idle",2019-01-02 22:28:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:28:30.398 UTC,,,82,,5c2d3ab1.52,73,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:30.660 UTC,,,327,,5c2d3b0e.147,1,,2019-01-02 22:28:30 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:30.758 UTC,,,327,,5c2d3b0e.147,2,,2019-01-02 22:28:30 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:30.775 UTC,,,327,,5c2d3b0e.147,3,,2019-01-02 22:28:30 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:30.904 UTC,,,327,,5c2d3b0e.147,4,,2019-01-02 22:28:30 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:30.905 UTC,,,82,,5c2d3ab1.52,74,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:30.905 UTC,,,327,,5c2d3b0e.147,5,,2019-01-02 22:28:30 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004D00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:30.953 UTC,,,332,,5c2d3b0e.14c,1,,2019-01-02 22:28:30 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:30.990 UTC,,,335,,5c2d3b0e.14f,1,,2019-01-02 22:28:30 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:35.263 UTC,,,82,,5c2d3ab1.52,75,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 331) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:35.263 UTC,,,82,,5c2d3ab1.52,76,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:35.269 UTC,,,82,,5c2d3ab1.52,77,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:35.654 UTC,,,336,,5c2d3b13.150,1,,2019-01-02 22:28:35 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:35.712 UTC,,,336,,5c2d3b13.150,2,,2019-01-02 22:28:35 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:35.753 UTC,,,336,,5c2d3b13.150,3,,2019-01-02 22:28:35 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:35.860 UTC,,,336,,5c2d3b13.150,4,,2019-01-02 22:28:35 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:35.861 UTC,,,82,,5c2d3ab1.52,78,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:35.861 UTC,,,336,,5c2d3b13.150,5,,2019-01-02 22:28:35 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004D00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:35.878 UTC,,,341,,5c2d3b13.155,1,,2019-01-02 22:28:35 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:35.972 UTC,,,341,,5c2d3b13.155,2,,2019-01-02 22:28:35 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:35.973 UTC,,,336,,5c2d3b13.150,6,,2019-01-02 22:28:35 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004D70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:36.172 UTC,,,344,,5c2d3b13.158,1,,2019-01-02 22:28:35 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:38.853 UTC,,,345,"[local]",5c2d3b16.159,1,"",2019-01-02 22:28:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:38.854 UTC,"postgres","postgres",345,"[local]",5c2d3b16.159,2,"authentication",2019-01-02 22:28:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:28:40.312 UTC,,,82,,5c2d3ab1.52,79,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 340) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:40.312 UTC,,,82,,5c2d3ab1.52,80,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:40.312 UTC,"postgres","postgres",345,"[local]",5c2d3b16.159,3,"idle",2019-01-02 22:28:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:28:40.320 UTC,,,82,,5c2d3ab1.52,81,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:40.654 UTC,,,350,,5c2d3b18.15e,1,,2019-01-02 22:28:40 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:40.711 UTC,,,350,,5c2d3b18.15e,2,,2019-01-02 22:28:40 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:40.718 UTC,,,350,,5c2d3b18.15e,3,,2019-01-02 22:28:40 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:40.877 UTC,,,350,,5c2d3b18.15e,4,,2019-01-02 22:28:40 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:40.878 UTC,,,82,,5c2d3ab1.52,82,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:40.878 UTC,,,350,,5c2d3b18.15e,5,,2019-01-02 22:28:40 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004D70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:40.940 UTC,,,355,,5c2d3b18.163,1,,2019-01-02 22:28:40 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:41.020 UTC,,,355,,5c2d3b18.163,2,,2019-01-02 22:28:40 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:41.020 UTC,,,350,,5c2d3b18.15e,6,,2019-01-02 22:28:40 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004DE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:41.557 UTC,,,358,,5c2d3b19.166,1,,2019-01-02 22:28:41 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:45.358 UTC,,,82,,5c2d3ab1.52,83,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 354) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:45.358 UTC,,,82,,5c2d3ab1.52,84,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:45.369 UTC,,,82,,5c2d3ab1.52,85,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:45.754 UTC,,,359,,5c2d3b1d.167,1,,2019-01-02 22:28:45 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:45.829 UTC,,,359,,5c2d3b1d.167,2,,2019-01-02 22:28:45 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:45.854 UTC,,,359,,5c2d3b1d.167,3,,2019-01-02 22:28:45 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:46.101 UTC,,,359,,5c2d3b1d.167,4,,2019-01-02 22:28:45 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:46.102 UTC,,,82,,5c2d3ab1.52,86,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:46.102 UTC,,,359,,5c2d3b1d.167,5,,2019-01-02 22:28:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004DE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:46.190 UTC,,,364,,5c2d3b1e.16c,1,,2019-01-02 22:28:46 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:46.379 UTC,,,364,,5c2d3b1e.16c,2,,2019-01-02 22:28:46 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:46.380 UTC,,,359,,5c2d3b1d.167,6,,2019-01-02 22:28:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004E50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:46.877 UTC,,,367,,5c2d3b1e.16f,1,,2019-01-02 22:28:46 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:48.554 UTC,,,368,"[local]",5c2d3b20.170,1,"",2019-01-02 22:28:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:48.555 UTC,"postgres","postgres",368,"[local]",5c2d3b20.170,2,"authentication",2019-01-02 22:28:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:28:50.576 UTC,,,82,,5c2d3ab1.52,87,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 363) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:50.576 UTC,,,82,,5c2d3ab1.52,88,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:50.576 UTC,"postgres","postgres",368,"[local]",5c2d3b20.170,3,"idle",2019-01-02 22:28:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:28:50.585 UTC,,,82,,5c2d3ab1.52,89,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:50.954 UTC,,,377,,5c2d3b22.179,1,,2019-01-02 22:28:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:51.010 UTC,,,377,,5c2d3b22.179,2,,2019-01-02 22:28:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:51.017 UTC,,,377,,5c2d3b22.179,3,,2019-01-02 22:28:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:51.150 UTC,,,377,,5c2d3b22.179,4,,2019-01-02 22:28:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:51.150 UTC,,,82,,5c2d3ab1.52,90,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:51.151 UTC,,,377,,5c2d3b22.179,5,,2019-01-02 22:28:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004E50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:51.197 UTC,,,382,,5c2d3b23.17e,1,,2019-01-02 22:28:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:51.897 UTC,,,382,,5c2d3b23.17e,2,,2019-01-02 22:28:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:51.897 UTC,,,377,,5c2d3b22.179,6,,2019-01-02 22:28:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004EC0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:52.153 UTC,,,385,,5c2d3b23.181,1,,2019-01-02 22:28:51 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:55.646 UTC,,,82,,5c2d3ab1.52,91,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 381) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:28:55.646 UTC,,,82,,5c2d3ab1.52,92,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:28:55.654 UTC,,,82,,5c2d3ab1.52,93,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:28:56.066 UTC,,,390,,5c2d3b28.186,1,,2019-01-02 22:28:56 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:28:56.180 UTC,,,390,,5c2d3b28.186,2,,2019-01-02 22:28:56 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:28:56.187 UTC,,,390,,5c2d3b28.186,3,,2019-01-02 22:28:56 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:28:56.319 UTC,,,390,,5c2d3b28.186,4,,2019-01-02 22:28:56 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:28:56.320 UTC,,,82,,5c2d3ab1.52,94,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:28:56.320 UTC,,,390,,5c2d3b28.186,5,,2019-01-02 22:28:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14004EC0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:56.394 UTC,,,395,,5c2d3b28.18b,1,,2019-01-02 22:28:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:28:56.990 UTC,,,395,,5c2d3b28.18b,2,,2019-01-02 22:28:56 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:28:56.990 UTC,,,390,,5c2d3b28.186,6,,2019-01-02 22:28:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/140079A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:28:57.237 UTC,,,398,,5c2d3b29.18e,1,,2019-01-02 22:28:57 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:28:58.408 UTC,,,399,"[local]",5c2d3b2a.18f,1,"",2019-01-02 22:28:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:28:58.409 UTC,"postgres","postgres",399,"[local]",5c2d3b2a.18f,2,"authentication",2019-01-02 22:28:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:00.751 UTC,,,82,,5c2d3ab1.52,95,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 394) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:00.751 UTC,,,82,,5c2d3ab1.52,96,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:00.751 UTC,"postgres","postgres",399,"[local]",5c2d3b2a.18f,3,"idle",2019-01-02 22:28:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:00.759 UTC,,,82,,5c2d3ab1.52,97,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:01.059 UTC,,,404,,5c2d3b2d.194,1,,2019-01-02 22:29:01 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:01.160 UTC,,,404,,5c2d3b2d.194,2,,2019-01-02 22:29:01 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:01.167 UTC,,,404,,5c2d3b2d.194,3,,2019-01-02 22:29:01 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:01.264 UTC,,,404,,5c2d3b2d.194,4,,2019-01-02 22:29:01 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:01.265 UTC,,,82,,5c2d3ab1.52,98,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:01.265 UTC,,,404,,5c2d3b2d.194,5,,2019-01-02 22:29:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/140079A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:01.312 UTC,,,409,,5c2d3b2d.199,1,,2019-01-02 22:29:01 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:01.904 UTC,,,409,,5c2d3b2d.199,2,,2019-01-02 22:29:01 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:01.953 UTC,,,404,,5c2d3b2d.194,6,,2019-01-02 22:29:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007A10: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:02.388 UTC,,,412,,5c2d3b2d.19c,1,,2019-01-02 22:29:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:05.834 UTC,,,82,,5c2d3ab1.52,99,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 408) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:05.834 UTC,,,82,,5c2d3ab1.52,100,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:05.842 UTC,,,82,,5c2d3ab1.52,101,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:06.154 UTC,,,413,,5c2d3b32.19d,1,,2019-01-02 22:29:06 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:06.214 UTC,,,413,,5c2d3b32.19d,2,,2019-01-02 22:29:06 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:06.221 UTC,,,413,,5c2d3b32.19d,3,,2019-01-02 22:29:06 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:06.359 UTC,,,413,,5c2d3b32.19d,4,,2019-01-02 22:29:06 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:06.360 UTC,,,82,,5c2d3ab1.52,102,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:06.360 UTC,,,413,,5c2d3b32.19d,5,,2019-01-02 22:29:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007A10: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:06.395 UTC,,,418,,5c2d3b32.1a2,1,,2019-01-02 22:29:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:07.646 UTC,,,418,,5c2d3b32.1a2,2,,2019-01-02 22:29:06 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:07.646 UTC,,,413,,5c2d3b32.19d,6,,2019-01-02 22:29:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007A80: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:07.898 UTC,,,421,,5c2d3b33.1a5,1,,2019-01-02 22:29:07 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:08.535 UTC,,,422,"[local]",5c2d3b34.1a6,1,"",2019-01-02 22:29:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:08.536 UTC,"postgres","postgres",422,"[local]",5c2d3b34.1a6,2,"authentication",2019-01-02 22:29:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:08.541 UTC,,,423,"127.0.0.1:48240",5c2d3b34.1a7,1,"",2019-01-02 22:29:08 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48240",,,,,,,,,""
2019-01-02 22:29:08.546 UTC,"standby","",423,"127.0.0.1:48240",5c2d3b34.1a7,2,"authentication",2019-01-02 22:29:08 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:29:08.548 UTC,"standby","",423,"127.0.0.1:48240",5c2d3b34.1a7,3,"idle",2019-01-02 22:29:08 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=standby database= host=127.0.0.1 port=48240",,,,,,,,,""
2019-01-02 22:29:10.671 UTC,,,82,,5c2d3ab1.52,103,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 417) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:10.671 UTC,,,82,,5c2d3ab1.52,104,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:10.672 UTC,"postgres","postgres",422,"[local]",5c2d3b34.1a6,3,"idle",2019-01-02 22:29:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:10.679 UTC,,,82,,5c2d3ab1.52,105,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:10.916 UTC,,,428,,5c2d3b36.1ac,1,,2019-01-02 22:29:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:10.975 UTC,,,428,,5c2d3b36.1ac,2,,2019-01-02 22:29:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:10.981 UTC,,,428,,5c2d3b36.1ac,3,,2019-01-02 22:29:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:11.267 UTC,,,428,,5c2d3b36.1ac,4,,2019-01-02 22:29:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:11.267 UTC,,,82,,5c2d3ab1.52,106,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:11.268 UTC,,,428,,5c2d3b36.1ac,5,,2019-01-02 22:29:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007A80: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:11.291 UTC,,,433,,5c2d3b37.1b1,1,,2019-01-02 22:29:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:13.096 UTC,,,433,,5c2d3b37.1b1,2,,2019-01-02 22:29:11 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:13.153 UTC,,,428,,5c2d3b36.1ac,6,,2019-01-02 22:29:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007AF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:13.495 UTC,,,436,,5c2d3b39.1b4,1,,2019-01-02 22:29:13 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:15.770 UTC,,,82,,5c2d3ab1.52,107,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 432) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:15.770 UTC,,,82,,5c2d3ab1.52,108,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:15.776 UTC,,,82,,5c2d3ab1.52,109,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:16.256 UTC,,,437,,5c2d3b3c.1b5,1,,2019-01-02 22:29:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:16.314 UTC,,,437,,5c2d3b3c.1b5,2,,2019-01-02 22:29:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:16.321 UTC,,,437,,5c2d3b3c.1b5,3,,2019-01-02 22:29:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:16.528 UTC,,,437,,5c2d3b3c.1b5,4,,2019-01-02 22:29:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:16.529 UTC,,,82,,5c2d3ab1.52,110,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:16.529 UTC,,,437,,5c2d3b3c.1b5,5,,2019-01-02 22:29:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007AF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:16.590 UTC,,,442,,5c2d3b3c.1ba,1,,2019-01-02 22:29:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:18.438 UTC,,,442,,5c2d3b3c.1ba,2,,2019-01-02 22:29:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:18.453 UTC,,,437,,5c2d3b3c.1b5,6,,2019-01-02 22:29:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007B60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:18.484 UTC,,,446,"[local]",5c2d3b3e.1be,1,"",2019-01-02 22:29:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:18.485 UTC,"postgres","postgres",446,"[local]",5c2d3b3e.1be,2,"authentication",2019-01-02 22:29:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:18.977 UTC,,,445,,5c2d3b3e.1bd,1,,2019-01-02 22:29:18 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:20.954 UTC,,,82,,5c2d3ab1.52,111,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 441) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:20.954 UTC,,,82,,5c2d3ab1.52,112,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:20.954 UTC,"postgres","postgres",446,"[local]",5c2d3b3e.1be,3,"idle",2019-01-02 22:29:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:20.961 UTC,,,82,,5c2d3ab1.52,113,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:21.256 UTC,,,451,,5c2d3b41.1c3,1,,2019-01-02 22:29:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:21.316 UTC,,,451,,5c2d3b41.1c3,2,,2019-01-02 22:29:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:21.322 UTC,,,451,,5c2d3b41.1c3,3,,2019-01-02 22:29:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:21.443 UTC,,,451,,5c2d3b41.1c3,4,,2019-01-02 22:29:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:21.443 UTC,,,82,,5c2d3ab1.52,114,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:21.444 UTC,,,451,,5c2d3b41.1c3,5,,2019-01-02 22:29:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007B60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:21.488 UTC,,,456,,5c2d3b41.1c8,1,,2019-01-02 22:29:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:23.688 UTC,,,456,,5c2d3b41.1c8,2,,2019-01-02 22:29:21 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:23.688 UTC,,,451,,5c2d3b41.1c3,6,,2019-01-02 22:29:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007BD0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:23.891 UTC,,,459,,5c2d3b43.1cb,1,,2019-01-02 22:29:23 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:25.873 UTC,,,82,,5c2d3ab1.52,115,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 455) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:25.873 UTC,,,82,,5c2d3ab1.52,116,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:25.881 UTC,,,82,,5c2d3ab1.52,117,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:26.154 UTC,,,460,,5c2d3b46.1cc,1,,2019-01-02 22:29:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:26.314 UTC,,,460,,5c2d3b46.1cc,2,,2019-01-02 22:29:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:26.319 UTC,,,460,,5c2d3b46.1cc,3,,2019-01-02 22:29:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:26.493 UTC,,,460,,5c2d3b46.1cc,4,,2019-01-02 22:29:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:26.494 UTC,,,82,,5c2d3ab1.52,118,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:26.495 UTC,,,460,,5c2d3b46.1cc,5,,2019-01-02 22:29:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007BD0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:26.585 UTC,,,465,,5c2d3b46.1d1,1,,2019-01-02 22:29:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:28.879 UTC,,,465,,5c2d3b46.1d1,2,,2019-01-02 22:29:26 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:28.953 UTC,,,460,,5c2d3b46.1cc,6,,2019-01-02 22:29:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007C40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:29.026 UTC,,,469,"[local]",5c2d3b49.1d5,1,"",2019-01-02 22:29:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:29.027 UTC,"postgres","postgres",469,"[local]",5c2d3b49.1d5,2,"authentication",2019-01-02 22:29:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:29.181 UTC,,,468,,5c2d3b48.1d4,1,,2019-01-02 22:29:28 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:30.924 UTC,,,82,,5c2d3ab1.52,119,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 464) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:30.924 UTC,,,82,,5c2d3ab1.52,120,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:30.924 UTC,"postgres","postgres",469,"[local]",5c2d3b49.1d5,3,"idle",2019-01-02 22:29:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:30.932 UTC,,,82,,5c2d3ab1.52,121,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:31.261 UTC,,,478,,5c2d3b4b.1de,1,,2019-01-02 22:29:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:31.365 UTC,,,478,,5c2d3b4b.1de,2,,2019-01-02 22:29:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:31.371 UTC,,,478,,5c2d3b4b.1de,3,,2019-01-02 22:29:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:31.460 UTC,,,478,,5c2d3b4b.1de,4,,2019-01-02 22:29:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:31.461 UTC,,,82,,5c2d3ab1.52,122,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:31.462 UTC,,,478,,5c2d3b4b.1de,5,,2019-01-02 22:29:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007C40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:31.484 UTC,,,483,,5c2d3b4b.1e3,1,,2019-01-02 22:29:31 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:34.143 UTC,,,483,,5c2d3b4b.1e3,2,,2019-01-02 22:29:31 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:34.143 UTC,,,478,,5c2d3b4b.1de,6,,2019-01-02 22:29:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007CB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:34.382 UTC,,,486,,5c2d3b4e.1e6,1,,2019-01-02 22:29:34 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:35.811 UTC,,,82,,5c2d3ab1.52,123,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 482) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:35.811 UTC,,,82,,5c2d3ab1.52,124,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:35.819 UTC,,,82,,5c2d3ab1.52,125,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:36.155 UTC,,,487,,5c2d3b50.1e7,1,,2019-01-02 22:29:36 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:36.241 UTC,,,487,,5c2d3b50.1e7,2,,2019-01-02 22:29:36 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:36.247 UTC,,,487,,5c2d3b50.1e7,3,,2019-01-02 22:29:36 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:36.356 UTC,,,487,,5c2d3b50.1e7,4,,2019-01-02 22:29:36 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:36.357 UTC,,,82,,5c2d3ab1.52,126,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:36.358 UTC,,,487,,5c2d3b50.1e7,5,,2019-01-02 22:29:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007CB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:36.385 UTC,,,492,,5c2d3b50.1ec,1,,2019-01-02 22:29:36 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:39.347 UTC,,,492,,5c2d3b50.1ec,2,,2019-01-02 22:29:36 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:39.353 UTC,,,487,,5c2d3b50.1e7,6,,2019-01-02 22:29:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007D20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:39.761 UTC,,,496,"[local]",5c2d3b53.1f0,1,"",2019-01-02 22:29:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:39.762 UTC,"postgres","postgres",496,"[local]",5c2d3b53.1f0,2,"authentication",2019-01-02 22:29:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:40.053 UTC,,,495,,5c2d3b53.1ef,1,,2019-01-02 22:29:39 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: no pg_hba.conf entry for replication connection from host ""10.244.35.0"", user ""standby"", SSL off",,,,,,,,,""
2019-01-02 22:29:40.807 UTC,,,82,,5c2d3ab1.52,127,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 491) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:40.807 UTC,,,82,,5c2d3ab1.52,128,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:40.807 UTC,"postgres","postgres",496,"[local]",5c2d3b53.1f0,3,"idle",2019-01-02 22:29:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:40.814 UTC,,,82,,5c2d3ab1.52,129,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:41.154 UTC,,,501,,5c2d3b55.1f5,1,,2019-01-02 22:29:41 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:41.217 UTC,,,501,,5c2d3b55.1f5,2,,2019-01-02 22:29:41 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:41.223 UTC,,,501,,5c2d3b55.1f5,3,,2019-01-02 22:29:41 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:41.382 UTC,,,501,,5c2d3b55.1f5,4,,2019-01-02 22:29:41 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:41.382 UTC,,,82,,5c2d3ab1.52,130,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:41.383 UTC,,,501,,5c2d3b55.1f5,5,,2019-01-02 22:29:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007D20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:41.492 UTC,,,506,,5c2d3b55.1fa,1,,2019-01-02 22:29:41 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:44.554 UTC,,,506,,5c2d3b55.1fa,2,,2019-01-02 22:29:41 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:44.557 UTC,,,501,,5c2d3b55.1f5,6,,2019-01-02 22:29:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007D90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:45.053 UTC,,,509,,5c2d3b58.1fd,1,,2019-01-02 22:29:44 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:45.865 UTC,,,82,,5c2d3ab1.52,131,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 505) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:45.865 UTC,,,82,,5c2d3ab1.52,132,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:45.872 UTC,,,82,,5c2d3ab1.52,133,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:46.256 UTC,,,510,,5c2d3b5a.1fe,1,,2019-01-02 22:29:46 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:46.355 UTC,,,510,,5c2d3b5a.1fe,2,,2019-01-02 22:29:46 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:46.361 UTC,,,510,,5c2d3b5a.1fe,3,,2019-01-02 22:29:46 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:46.460 UTC,,,510,,5c2d3b5a.1fe,4,,2019-01-02 22:29:46 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:46.461 UTC,,,82,,5c2d3ab1.52,134,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:46.461 UTC,,,510,,5c2d3b5a.1fe,5,,2019-01-02 22:29:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007D90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:46.586 UTC,,,515,,5c2d3b5a.203,1,,2019-01-02 22:29:46 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:48.941 UTC,,,518,"[local]",5c2d3b5c.206,1,"",2019-01-02 22:29:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:48.942 UTC,"postgres","postgres",518,"[local]",5c2d3b5c.206,2,"authentication",2019-01-02 22:29:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:29:49.954 UTC,,,515,,5c2d3b5a.203,2,,2019-01-02 22:29:46 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:49.956 UTC,,,510,,5c2d3b5a.1fe,6,,2019-01-02 22:29:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007E00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:50.253 UTC,,,523,,5c2d3b5d.20b,1,,2019-01-02 22:29:49 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:51.125 UTC,,,82,,5c2d3ab1.52,135,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 514) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:51.125 UTC,,,82,,5c2d3ab1.52,136,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:51.159 UTC,"postgres","postgres",518,"[local]",5c2d3b5c.206,3,"idle",2019-01-02 22:29:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:29:51.169 UTC,,,82,,5c2d3ab1.52,137,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:51.402 UTC,,,524,,5c2d3b5f.20c,1,,2019-01-02 22:29:51 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:51.455 UTC,,,524,,5c2d3b5f.20c,2,,2019-01-02 22:29:51 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:51.461 UTC,,,524,,5c2d3b5f.20c,3,,2019-01-02 22:29:51 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:51.824 UTC,,,524,,5c2d3b5f.20c,4,,2019-01-02 22:29:51 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:51.825 UTC,,,82,,5c2d3ab1.52,138,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:51.825 UTC,,,524,,5c2d3b5f.20c,5,,2019-01-02 22:29:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/14007E00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:51.897 UTC,,,529,,5c2d3b5f.211,1,,2019-01-02 22:29:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:55.253 UTC,,,529,,5c2d3b5f.211,2,,2019-01-02 22:29:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:29:55.255 UTC,,,524,,5c2d3b5f.20c,6,,2019-01-02 22:29:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A8F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:55.679 UTC,,,536,,5c2d3b63.218,1,,2019-01-02 22:29:55 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:29:56.319 UTC,,,82,,5c2d3ab1.52,139,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 528) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:29:56.319 UTC,,,82,,5c2d3ab1.52,140,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:29:56.325 UTC,,,82,,5c2d3ab1.52,141,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:29:56.754 UTC,,,537,,5c2d3b64.219,1,,2019-01-02 22:29:56 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:29:56.809 UTC,,,537,,5c2d3b64.219,2,,2019-01-02 22:29:56 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:29:56.814 UTC,,,537,,5c2d3b64.219,3,,2019-01-02 22:29:56 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:29:56.914 UTC,,,537,,5c2d3b64.219,4,,2019-01-02 22:29:56 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:29:56.915 UTC,,,82,,5c2d3ab1.52,142,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:29:56.915 UTC,,,537,,5c2d3b64.219,5,,2019-01-02 22:29:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A8F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:29:56.986 UTC,,,542,,5c2d3b64.21e,1,,2019-01-02 22:29:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:29:58.120 UTC,,,545,"[local]",5c2d3b66.221,1,"",2019-01-02 22:29:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:29:58.121 UTC,"postgres","postgres",545,"[local]",5c2d3b66.221,2,"authentication",2019-01-02 22:29:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:00.653 UTC,,,542,,5c2d3b64.21e,2,,2019-01-02 22:29:56 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:00.654 UTC,,,537,,5c2d3b64.219,6,,2019-01-02 22:29:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A968: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:01.063 UTC,,,550,,5c2d3b68.226,1,,2019-01-02 22:30:00 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:01.458 UTC,,,82,,5c2d3ab1.52,143,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 541) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:01.458 UTC,,,82,,5c2d3ab1.52,144,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:01.458 UTC,"postgres","postgres",545,"[local]",5c2d3b66.221,3,"idle",2019-01-02 22:29:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:01.470 UTC,,,82,,5c2d3ab1.52,145,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:02.054 UTC,,,551,,5c2d3b6a.227,1,,2019-01-02 22:30:02 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:02.114 UTC,,,551,,5c2d3b6a.227,2,,2019-01-02 22:30:02 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:02.121 UTC,,,551,,5c2d3b6a.227,3,,2019-01-02 22:30:02 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:02.215 UTC,,,551,,5c2d3b6a.227,4,,2019-01-02 22:30:02 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:02.215 UTC,,,82,,5c2d3ab1.52,146,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:02.216 UTC,,,551,,5c2d3b6a.227,5,,2019-01-02 22:30:02 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A968: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:02.287 UTC,,,556,,5c2d3b6a.22c,1,,2019-01-02 22:30:02 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:05.953 UTC,,,556,,5c2d3b6a.22c,2,,2019-01-02 22:30:02 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:05.955 UTC,,,551,,5c2d3b6a.227,6,,2019-01-02 22:30:02 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A9D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:06.186 UTC,,,559,,5c2d3b6d.22f,1,,2019-01-02 22:30:05 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:06.795 UTC,,,82,,5c2d3ab1.52,147,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 555) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:06.795 UTC,,,82,,5c2d3ab1.52,148,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:06.801 UTC,,,82,,5c2d3ab1.52,149,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:07.262 UTC,,,560,,5c2d3b6f.230,1,,2019-01-02 22:30:07 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:07.584 UTC,,,560,,5c2d3b6f.230,2,,2019-01-02 22:30:07 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:07.590 UTC,,,560,,5c2d3b6f.230,3,,2019-01-02 22:30:07 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:07.709 UTC,,,560,,5c2d3b6f.230,4,,2019-01-02 22:30:07 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:07.709 UTC,,,82,,5c2d3ab1.52,150,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:07.710 UTC,,,560,,5c2d3b6f.230,5,,2019-01-02 22:30:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400A9D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:07.753 UTC,,,565,,5c2d3b6f.235,1,,2019-01-02 22:30:07 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:09.053 UTC,,,568,"[local]",5c2d3b71.238,1,"",2019-01-02 22:30:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:09.054 UTC,"postgres","postgres",568,"[local]",5c2d3b71.238,2,"authentication",2019-01-02 22:30:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:10.953 UTC,,,565,,5c2d3b6f.235,2,,2019-01-02 22:30:07 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:10.955 UTC,,,560,,5c2d3b6f.230,6,,2019-01-02 22:30:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AA48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:11.455 UTC,,,573,,5c2d3b72.23d,1,,2019-01-02 22:30:10 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:12.189 UTC,,,82,,5c2d3ab1.52,151,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 564) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:12.189 UTC,,,82,,5c2d3ab1.52,152,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:12.189 UTC,"postgres","postgres",568,"[local]",5c2d3b71.238,3,"idle",2019-01-02 22:30:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:12.200 UTC,,,82,,5c2d3ab1.52,153,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:12.698 UTC,,,574,,5c2d3b74.23e,1,,2019-01-02 22:30:12 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:12.998 UTC,,,574,,5c2d3b74.23e,2,,2019-01-02 22:30:12 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:13.006 UTC,,,574,,5c2d3b74.23e,3,,2019-01-02 22:30:12 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:13.140 UTC,,,574,,5c2d3b74.23e,4,,2019-01-02 22:30:12 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:13.141 UTC,,,82,,5c2d3ab1.52,154,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:13.141 UTC,,,574,,5c2d3b74.23e,5,,2019-01-02 22:30:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AA48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:13.184 UTC,,,579,,5c2d3b75.243,1,,2019-01-02 22:30:13 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:16.453 UTC,,,579,,5c2d3b75.243,2,,2019-01-02 22:30:13 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:16.455 UTC,,,574,,5c2d3b74.23e,6,,2019-01-02 22:30:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AAB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:16.753 UTC,,,582,,5c2d3b78.246,1,,2019-01-02 22:30:16 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:17.587 UTC,,,82,,5c2d3ab1.52,155,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 578) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:17.587 UTC,,,82,,5c2d3ab1.52,156,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:17.595 UTC,,,82,,5c2d3ab1.52,157,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:18.058 UTC,,,583,,5c2d3b7a.247,1,,2019-01-02 22:30:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:18.162 UTC,,,583,,5c2d3b7a.247,2,,2019-01-02 22:30:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:18.169 UTC,,,583,,5c2d3b7a.247,3,,2019-01-02 22:30:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:18.495 UTC,,,583,,5c2d3b7a.247,4,,2019-01-02 22:30:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:18.495 UTC,,,82,,5c2d3ab1.52,158,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:18.496 UTC,,,583,,5c2d3b7a.247,5,,2019-01-02 22:30:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AAB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:18.567 UTC,,,588,,5c2d3b7a.24c,1,,2019-01-02 22:30:18 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:18.616 UTC,,,591,"[local]",5c2d3b7a.24f,1,"",2019-01-02 22:30:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:18.617 UTC,"postgres","postgres",591,"[local]",5c2d3b7a.24f,2,"authentication",2019-01-02 22:30:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:21.388 UTC,,,588,,5c2d3b7a.24c,2,,2019-01-02 22:30:18 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:21.388 UTC,,,583,,5c2d3b7a.247,6,,2019-01-02 22:30:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AB28: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:21.653 UTC,,,600,,5c2d3b7d.258,1,,2019-01-02 22:30:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:23.148 UTC,,,82,,5c2d3ab1.52,159,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 587) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:23.148 UTC,,,82,,5c2d3ab1.52,160,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:23.148 UTC,"postgres","postgres",591,"[local]",5c2d3b7a.24f,3,"idle",2019-01-02 22:30:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:23.159 UTC,,,82,,5c2d3ab1.52,161,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:23.654 UTC,,,601,,5c2d3b7f.259,1,,2019-01-02 22:30:23 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:23.708 UTC,,,601,,5c2d3b7f.259,2,,2019-01-02 22:30:23 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:23.716 UTC,,,601,,5c2d3b7f.259,3,,2019-01-02 22:30:23 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:23.987 UTC,,,601,,5c2d3b7f.259,4,,2019-01-02 22:30:23 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:23.988 UTC,,,82,,5c2d3ab1.52,162,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:23.989 UTC,,,601,,5c2d3b7f.259,5,,2019-01-02 22:30:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AB28: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:24.086 UTC,,,606,,5c2d3b7f.25e,1,,2019-01-02 22:30:23 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:26.518 UTC,,,606,,5c2d3b7f.25e,2,,2019-01-02 22:30:23 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:26.553 UTC,,,601,,5c2d3b7f.259,6,,2019-01-02 22:30:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AB98: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:26.854 UTC,,,609,,5c2d3b82.261,1,,2019-01-02 22:30:26 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:28.631 UTC,,,82,,5c2d3ab1.52,163,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 605) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:28.631 UTC,,,82,,5c2d3ab1.52,164,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:28.638 UTC,,,82,,5c2d3ab1.52,165,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:28.954 UTC,,,610,,5c2d3b84.262,1,,2019-01-02 22:30:28 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:29.015 UTC,,,610,,5c2d3b84.262,2,,2019-01-02 22:30:28 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:29.054 UTC,,,610,,5c2d3b84.262,3,,2019-01-02 22:30:28 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:29.157 UTC,,,610,,5c2d3b84.262,4,,2019-01-02 22:30:28 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:29.158 UTC,,,82,,5c2d3ab1.52,166,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:29.158 UTC,,,610,,5c2d3b84.262,5,,2019-01-02 22:30:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AB98: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:29.179 UTC,,,615,,5c2d3b85.267,1,,2019-01-02 22:30:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:29.342 UTC,,,618,"[local]",5c2d3b85.26a,1,"",2019-01-02 22:30:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:29.343 UTC,"postgres","postgres",618,"[local]",5c2d3b85.26a,2,"authentication",2019-01-02 22:30:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:31.699 UTC,,,615,,5c2d3b85.267,2,,2019-01-02 22:30:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:31.699 UTC,,,610,,5c2d3b84.262,6,,2019-01-02 22:30:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AC08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:32.155 UTC,,,623,,5c2d3b87.26f,1,,2019-01-02 22:30:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:33.552 UTC,,,82,,5c2d3ab1.52,167,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 614) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:33.552 UTC,,,82,,5c2d3ab1.52,168,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:33.561 UTC,"postgres","postgres",618,"[local]",5c2d3b85.26a,3,"idle",2019-01-02 22:30:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:33.564 UTC,,,82,,5c2d3ab1.52,169,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:33.825 UTC,,,624,,5c2d3b89.270,1,,2019-01-02 22:30:33 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:33.886 UTC,,,624,,5c2d3b89.270,2,,2019-01-02 22:30:33 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:33.891 UTC,,,624,,5c2d3b89.270,3,,2019-01-02 22:30:33 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:34.161 UTC,,,624,,5c2d3b89.270,4,,2019-01-02 22:30:33 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:34.161 UTC,,,82,,5c2d3ab1.52,170,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:34.162 UTC,,,624,,5c2d3b89.270,5,,2019-01-02 22:30:33 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AC08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:34.186 UTC,,,629,,5c2d3b8a.275,1,,2019-01-02 22:30:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:37.018 UTC,,,629,,5c2d3b8a.275,2,,2019-01-02 22:30:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:37.018 UTC,,,624,,5c2d3b89.270,6,,2019-01-02 22:30:33 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AC78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:37.653 UTC,,,632,,5c2d3b8d.278,1,,2019-01-02 22:30:37 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:38.726 UTC,,,82,,5c2d3ab1.52,171,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 628) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:38.726 UTC,,,82,,5c2d3ab1.52,172,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:38.733 UTC,,,82,,5c2d3ab1.52,173,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:39.154 UTC,,,633,,5c2d3b8f.279,1,,2019-01-02 22:30:39 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:39.292 UTC,,,634,"[local]",5c2d3b8f.27a,1,"",2019-01-02 22:30:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:39.292 UTC,"postgres","postgres",634,"[local]",5c2d3b8f.27a,2,"",2019-01-02 22:30:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:39.302 UTC,,,636,"[local]",5c2d3b8f.27c,1,"",2019-01-02 22:30:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:39.302 UTC,"postgres","postgres",636,"[local]",5c2d3b8f.27c,2,"",2019-01-02 22:30:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:39.445 UTC,,,633,,5c2d3b8f.279,2,,2019-01-02 22:30:39 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:39.451 UTC,,,633,,5c2d3b8f.279,3,,2019-01-02 22:30:39 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:39.642 UTC,,,633,,5c2d3b8f.279,4,,2019-01-02 22:30:39 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:39.643 UTC,,,82,,5c2d3ab1.52,174,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:39.644 UTC,,,633,,5c2d3b8f.279,5,,2019-01-02 22:30:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AC78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:39.694 UTC,,,645,,5c2d3b8f.285,1,,2019-01-02 22:30:39 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:42.338 UTC,,,645,,5c2d3b8f.285,2,,2019-01-02 22:30:39 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:42.339 UTC,,,633,,5c2d3b8f.279,6,,2019-01-02 22:30:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400ACE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:42.857 UTC,,,648,,5c2d3b92.288,1,,2019-01-02 22:30:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:44.258 UTC,,,82,,5c2d3ab1.52,175,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 644) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:44.258 UTC,,,82,,5c2d3ab1.52,176,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:44.268 UTC,,,82,,5c2d3ab1.52,177,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:44.754 UTC,,,649,,5c2d3b94.289,1,,2019-01-02 22:30:44 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:44.816 UTC,,,649,,5c2d3b94.289,2,,2019-01-02 22:30:44 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:44.822 UTC,,,649,,5c2d3b94.289,3,,2019-01-02 22:30:44 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:45.170 UTC,,,649,,5c2d3b94.289,4,,2019-01-02 22:30:44 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:45.171 UTC,,,82,,5c2d3ab1.52,178,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:45.172 UTC,,,649,,5c2d3b94.289,5,,2019-01-02 22:30:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400ACE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:45.287 UTC,,,654,,5c2d3b95.28e,1,,2019-01-02 22:30:45 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:47.531 UTC,,,654,,5c2d3b95.28e,2,,2019-01-02 22:30:45 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:47.553 UTC,,,649,,5c2d3b94.289,6,,2019-01-02 22:30:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AD58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:47.853 UTC,,,657,,5c2d3b97.291,1,,2019-01-02 22:30:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:48.473 UTC,,,659,"[local]",5c2d3b98.293,1,"",2019-01-02 22:30:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:48.473 UTC,"postgres","postgres",659,"[local]",5c2d3b98.293,2,"authentication",2019-01-02 22:30:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:48.481 UTC,"postgres","postgres",659,"[local]",5c2d3b98.293,3,"idle",2019-01-02 22:30:48 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:30:48.553 UTC,,,660,"[local]",5c2d3b98.294,1,"",2019-01-02 22:30:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:48.554 UTC,"postgres","postgres",660,"[local]",5c2d3b98.294,2,"authentication",2019-01-02 22:30:48 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:49.841 UTC,,,82,,5c2d3ab1.52,179,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 653) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:49.841 UTC,,,82,,5c2d3ab1.52,180,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:49.841 UTC,"postgres","postgres",660,"[local]",5c2d3b98.294,3,"idle",2019-01-02 22:30:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:49.852 UTC,,,82,,5c2d3ab1.52,181,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:50.102 UTC,,,669,,5c2d3b9a.29d,1,,2019-01-02 22:30:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:50.167 UTC,,,669,,5c2d3b9a.29d,2,,2019-01-02 22:30:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:50.173 UTC,,,669,,5c2d3b9a.29d,3,,2019-01-02 22:30:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:50.263 UTC,,,669,,5c2d3b9a.29d,4,,2019-01-02 22:30:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:50.264 UTC,,,82,,5c2d3ab1.52,182,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:50.264 UTC,,,669,,5c2d3b9a.29d,5,,2019-01-02 22:30:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AD58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:50.297 UTC,,,674,,5c2d3b9a.2a2,1,,2019-01-02 22:30:50 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:52.614 UTC,,,674,,5c2d3b9a.2a2,2,,2019-01-02 22:30:50 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:52.614 UTC,,,669,,5c2d3b9a.29d,6,,2019-01-02 22:30:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400ADC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:53.099 UTC,,,677,,5c2d3b9c.2a5,1,,2019-01-02 22:30:52 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:54.673 UTC,,,82,,5c2d3ab1.52,183,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 673) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:54.673 UTC,,,82,,5c2d3ab1.52,184,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:54.680 UTC,,,82,,5c2d3ab1.52,185,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:30:54.934 UTC,,,682,,5c2d3b9e.2aa,1,,2019-01-02 22:30:54 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:30:54.996 UTC,,,682,,5c2d3b9e.2aa,2,,2019-01-02 22:30:54 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:30:55.023 UTC,,,682,,5c2d3b9e.2aa,3,,2019-01-02 22:30:54 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:30:55.123 UTC,,,682,,5c2d3b9e.2aa,4,,2019-01-02 22:30:54 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:30:55.123 UTC,,,82,,5c2d3ab1.52,186,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:30:55.124 UTC,,,682,,5c2d3b9e.2aa,5,,2019-01-02 22:30:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400ADC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:55.185 UTC,,,687,,5c2d3b9f.2af,1,,2019-01-02 22:30:55 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:30:58.253 UTC,,,687,,5c2d3b9f.2af,2,,2019-01-02 22:30:55 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:30:58.255 UTC,,,682,,5c2d3b9e.2aa,6,,2019-01-02 22:30:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AE38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:30:58.454 UTC,,,690,,5c2d3ba2.2b2,1,,2019-01-02 22:30:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:30:58.853 UTC,,,691,"[local]",5c2d3ba2.2b3,1,"",2019-01-02 22:30:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:30:58.854 UTC,"postgres","postgres",691,"[local]",5c2d3ba2.2b3,2,"authentication",2019-01-02 22:30:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:30:59.575 UTC,,,82,,5c2d3ab1.52,187,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 686) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:30:59.575 UTC,,,82,,5c2d3ab1.52,188,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:30:59.575 UTC,"postgres","postgres",691,"[local]",5c2d3ba2.2b3,3,"idle",2019-01-02 22:30:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:30:59.582 UTC,,,82,,5c2d3ab1.52,189,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:00.301 UTC,,,696,,5c2d3ba4.2b8,1,,2019-01-02 22:31:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:00.358 UTC,,,696,,5c2d3ba4.2b8,2,,2019-01-02 22:31:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:00.366 UTC,,,696,,5c2d3ba4.2b8,3,,2019-01-02 22:31:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:00.465 UTC,,,696,,5c2d3ba4.2b8,4,,2019-01-02 22:31:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:00.466 UTC,,,82,,5c2d3ab1.52,190,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:00.466 UTC,,,696,,5c2d3ba4.2b8,5,,2019-01-02 22:31:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AE38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:00.594 UTC,,,701,,5c2d3ba4.2bd,1,,2019-01-02 22:31:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:03.199 UTC,,,701,,5c2d3ba4.2bd,2,,2019-01-02 22:31:00 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:03.199 UTC,,,696,,5c2d3ba4.2b8,6,,2019-01-02 22:31:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AEA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:03.562 UTC,,,704,,5c2d3ba7.2c0,1,,2019-01-02 22:31:03 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:04.983 UTC,,,82,,5c2d3ab1.52,191,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 700) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:04.983 UTC,,,82,,5c2d3ab1.52,192,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:04.990 UTC,,,82,,5c2d3ab1.52,193,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:05.454 UTC,,,705,,5c2d3ba9.2c1,1,,2019-01-02 22:31:05 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:05.512 UTC,,,705,,5c2d3ba9.2c1,2,,2019-01-02 22:31:05 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:05.526 UTC,,,705,,5c2d3ba9.2c1,3,,2019-01-02 22:31:05 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:05.620 UTC,,,705,,5c2d3ba9.2c1,4,,2019-01-02 22:31:05 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:05.621 UTC,,,82,,5c2d3ab1.52,194,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:05.621 UTC,,,705,,5c2d3ba9.2c1,5,,2019-01-02 22:31:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AEA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:05.688 UTC,,,710,,5c2d3ba9.2c6,1,,2019-01-02 22:31:05 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:08.335 UTC,,,710,,5c2d3ba9.2c6,2,,2019-01-02 22:31:05 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:08.337 UTC,,,705,,5c2d3ba9.2c1,6,,2019-01-02 22:31:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AF18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:08.953 UTC,,,713,,5c2d3bac.2c9,1,,2019-01-02 22:31:08 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:09.159 UTC,,,714,"[local]",5c2d3bad.2ca,1,"",2019-01-02 22:31:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:09.160 UTC,"postgres","postgres",714,"[local]",5c2d3bad.2ca,2,"authentication",2019-01-02 22:31:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:31:10.333 UTC,,,82,,5c2d3ab1.52,195,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 709) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:10.333 UTC,,,82,,5c2d3ab1.52,196,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:10.333 UTC,"postgres","postgres",714,"[local]",5c2d3bad.2ca,3,"idle",2019-01-02 22:31:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:31:10.344 UTC,,,82,,5c2d3ab1.52,197,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:10.661 UTC,,,719,,5c2d3bae.2cf,1,,2019-01-02 22:31:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:10.766 UTC,,,719,,5c2d3bae.2cf,2,,2019-01-02 22:31:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:10.776 UTC,,,719,,5c2d3bae.2cf,3,,2019-01-02 22:31:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:10.916 UTC,,,719,,5c2d3bae.2cf,4,,2019-01-02 22:31:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:10.917 UTC,,,82,,5c2d3ab1.52,198,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:10.917 UTC,,,719,,5c2d3bae.2cf,5,,2019-01-02 22:31:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AF18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:10.987 UTC,,,724,,5c2d3bae.2d4,1,,2019-01-02 22:31:10 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:13.953 UTC,,,724,,5c2d3bae.2d4,2,,2019-01-02 22:31:10 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:13.955 UTC,,,719,,5c2d3bae.2cf,6,,2019-01-02 22:31:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AF88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:14.453 UTC,,,727,,5c2d3bb1.2d7,1,,2019-01-02 22:31:13 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:15.587 UTC,,,82,,5c2d3ab1.52,199,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 723) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:15.587 UTC,,,82,,5c2d3ab1.52,200,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:15.594 UTC,,,82,,5c2d3ab1.52,201,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:15.955 UTC,,,728,,5c2d3bb3.2d8,1,,2019-01-02 22:31:15 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:16.022 UTC,,,728,,5c2d3bb3.2d8,2,,2019-01-02 22:31:15 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:16.033 UTC,,,728,,5c2d3bb3.2d8,3,,2019-01-02 22:31:15 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:16.122 UTC,,,728,,5c2d3bb3.2d8,4,,2019-01-02 22:31:15 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:16.123 UTC,,,82,,5c2d3ab1.52,202,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:16.123 UTC,,,728,,5c2d3bb3.2d8,5,,2019-01-02 22:31:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AF88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:16.191 UTC,,,733,,5c2d3bb4.2dd,1,,2019-01-02 22:31:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:18.754 UTC,,,736,"[local]",5c2d3bb6.2e0,1,"",2019-01-02 22:31:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:18.755 UTC,"postgres","postgres",736,"[local]",5c2d3bb6.2e0,2,"authentication",2019-01-02 22:31:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:31:19.353 UTC,,,733,,5c2d3bb4.2dd,2,,2019-01-02 22:31:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:19.356 UTC,,,728,,5c2d3bb3.2d8,6,,2019-01-02 22:31:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AFF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:19.687 UTC,,,745,,5c2d3bb7.2e9,1,,2019-01-02 22:31:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:20.732 UTC,,,82,,5c2d3ab1.52,203,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 732) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:20.732 UTC,,,82,,5c2d3ab1.52,204,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:20.732 UTC,"postgres","postgres",736,"[local]",5c2d3bb6.2e0,3,"idle",2019-01-02 22:31:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:31:20.740 UTC,,,82,,5c2d3ab1.52,205,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:21.054 UTC,,,746,,5c2d3bb9.2ea,1,,2019-01-02 22:31:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:21.160 UTC,,,746,,5c2d3bb9.2ea,2,,2019-01-02 22:31:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:21.167 UTC,,,746,,5c2d3bb9.2ea,3,,2019-01-02 22:31:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:21.263 UTC,,,746,,5c2d3bb9.2ea,4,,2019-01-02 22:31:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:21.264 UTC,,,82,,5c2d3ab1.52,206,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:21.264 UTC,,,746,,5c2d3bb9.2ea,5,,2019-01-02 22:31:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400AFF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:21.287 UTC,,,751,,5c2d3bb9.2ef,1,,2019-01-02 22:31:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:24.453 UTC,,,751,,5c2d3bb9.2ef,2,,2019-01-02 22:31:21 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:24.455 UTC,,,746,,5c2d3bb9.2ea,6,,2019-01-02 22:31:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B068: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:25.027 UTC,,,754,,5c2d3bbc.2f2,1,,2019-01-02 22:31:24 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:25.952 UTC,,,82,,5c2d3ab1.52,207,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 750) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:25.952 UTC,,,82,,5c2d3ab1.52,208,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:25.959 UTC,,,82,,5c2d3ab1.52,209,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:26.256 UTC,,,755,,5c2d3bbe.2f3,1,,2019-01-02 22:31:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:26.360 UTC,,,755,,5c2d3bbe.2f3,2,,2019-01-02 22:31:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:26.370 UTC,,,755,,5c2d3bbe.2f3,3,,2019-01-02 22:31:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:26.633 UTC,,,755,,5c2d3bbe.2f3,4,,2019-01-02 22:31:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:26.634 UTC,,,82,,5c2d3ab1.52,210,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:26.634 UTC,,,755,,5c2d3bbe.2f3,5,,2019-01-02 22:31:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B068: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:26.689 UTC,,,760,,5c2d3bbe.2f8,1,,2019-01-02 22:31:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:28.553 UTC,,,763,"[local]",5c2d3bc0.2fb,1,"",2019-01-02 22:31:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:28.554 UTC,"postgres","postgres",763,"[local]",5c2d3bc0.2fb,2,"authentication",2019-01-02 22:31:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:31:29.671 UTC,,,760,,5c2d3bbe.2f8,2,,2019-01-02 22:31:26 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:29.753 UTC,,,755,,5c2d3bbe.2f3,6,,2019-01-02 22:31:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B0D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:30.263 UTC,,,768,,5c2d3bc1.300,1,,2019-01-02 22:31:29 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:31.350 UTC,,,82,,5c2d3ab1.52,211,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 759) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:31.350 UTC,,,82,,5c2d3ab1.52,212,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:31.350 UTC,"postgres","postgres",763,"[local]",5c2d3bc0.2fb,3,"idle",2019-01-02 22:31:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:31:31.359 UTC,,,82,,5c2d3ab1.52,213,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:31.655 UTC,,,769,,5c2d3bc3.301,1,,2019-01-02 22:31:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:31.716 UTC,,,769,,5c2d3bc3.301,2,,2019-01-02 22:31:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:31.754 UTC,,,769,,5c2d3bc3.301,3,,2019-01-02 22:31:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:31.951 UTC,,,769,,5c2d3bc3.301,4,,2019-01-02 22:31:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:31.952 UTC,,,82,,5c2d3ab1.52,214,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:31.952 UTC,,,769,,5c2d3bc3.301,5,,2019-01-02 22:31:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B0D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:31.990 UTC,,,774,,5c2d3bc3.306,1,,2019-01-02 22:31:31 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:34.958 UTC,,,774,,5c2d3bc3.306,2,,2019-01-02 22:31:31 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:34.958 UTC,,,769,,5c2d3bc3.301,6,,2019-01-02 22:31:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B148: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:35.553 UTC,,,777,,5c2d3bc7.309,1,,2019-01-02 22:31:35 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:36.854 UTC,,,82,,5c2d3ab1.52,215,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 773) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:36.854 UTC,,,82,,5c2d3ab1.52,216,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:36.860 UTC,,,82,,5c2d3ab1.52,217,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:37.037 UTC,,,778,,5c2d3bc9.30a,1,,2019-01-02 22:31:37 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:37.090 UTC,,,778,,5c2d3bc9.30a,2,,2019-01-02 22:31:37 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:37.096 UTC,,,778,,5c2d3bc9.30a,3,,2019-01-02 22:31:37 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:37.252 UTC,,,778,,5c2d3bc9.30a,4,,2019-01-02 22:31:37 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:37.253 UTC,,,82,,5c2d3ab1.52,218,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:37.253 UTC,,,778,,5c2d3bc9.30a,5,,2019-01-02 22:31:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B148: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:37.272 UTC,,,783,,5c2d3bc9.30f,1,,2019-01-02 22:31:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:39.063 UTC,,,786,"[local]",5c2d3bcb.312,1,"",2019-01-02 22:31:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:39.064 UTC,"postgres","postgres",786,"[local]",5c2d3bcb.312,2,"authentication",2019-01-02 22:31:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:31:40.453 UTC,,,783,,5c2d3bc9.30f,2,,2019-01-02 22:31:37 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:40.455 UTC,,,778,,5c2d3bc9.30a,6,,2019-01-02 22:31:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B1B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:40.753 UTC,,,791,,5c2d3bcc.317,1,,2019-01-02 22:31:40 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:41.742 UTC,,,82,,5c2d3ab1.52,219,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 782) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:41.742 UTC,,,82,,5c2d3ab1.52,220,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:41.742 UTC,"postgres","postgres",786,"[local]",5c2d3bcb.312,3,"idle",2019-01-02 22:31:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:31:41.750 UTC,,,82,,5c2d3ab1.52,221,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:42.154 UTC,,,792,,5c2d3bce.318,1,,2019-01-02 22:31:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:42.223 UTC,,,792,,5c2d3bce.318,2,,2019-01-02 22:31:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:42.254 UTC,,,792,,5c2d3bce.318,3,,2019-01-02 22:31:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:42.359 UTC,,,792,,5c2d3bce.318,4,,2019-01-02 22:31:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:42.360 UTC,,,82,,5c2d3ab1.52,222,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:42.360 UTC,,,792,,5c2d3bce.318,5,,2019-01-02 22:31:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B1B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:42.381 UTC,,,797,,5c2d3bce.31d,1,,2019-01-02 22:31:42 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:45.454 UTC,,,797,,5c2d3bce.31d,2,,2019-01-02 22:31:42 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:45.456 UTC,,,792,,5c2d3bce.318,6,,2019-01-02 22:31:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B228: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:45.765 UTC,,,800,,5c2d3bd1.320,1,,2019-01-02 22:31:45 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:47.077 UTC,,,82,,5c2d3ab1.52,223,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 796) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:47.077 UTC,,,82,,5c2d3ab1.52,224,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:47.085 UTC,,,82,,5c2d3ab1.52,225,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:47.555 UTC,,,801,,5c2d3bd3.321,1,,2019-01-02 22:31:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:47.614 UTC,,,801,,5c2d3bd3.321,2,,2019-01-02 22:31:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:47.653 UTC,,,801,,5c2d3bd3.321,3,,2019-01-02 22:31:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:47.856 UTC,,,801,,5c2d3bd3.321,4,,2019-01-02 22:31:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:47.856 UTC,,,82,,5c2d3ab1.52,226,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:47.857 UTC,,,801,,5c2d3bd3.321,5,,2019-01-02 22:31:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B228: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:47.874 UTC,,,806,,5c2d3bd3.326,1,,2019-01-02 22:31:47 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:48.855 UTC,,,809,"[local]",5c2d3bd4.329,1,"",2019-01-02 22:31:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:48.856 UTC,"postgres","postgres",809,"[local]",5c2d3bd4.329,2,"authentication",2019-01-02 22:31:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:31:50.423 UTC,,,806,,5c2d3bd3.326,2,,2019-01-02 22:31:47 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:50.423 UTC,,,801,,5c2d3bd3.321,6,,2019-01-02 22:31:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B298: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:51.482 UTC,,,818,,5c2d3bd6.332,1,,2019-01-02 22:31:50 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:52.352 UTC,,,82,,5c2d3ab1.52,227,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 805) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:52.352 UTC,,,82,,5c2d3ab1.52,228,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:52.352 UTC,"postgres","postgres",809,"[local]",5c2d3bd4.329,3,"idle",2019-01-02 22:31:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:31:52.363 UTC,,,82,,5c2d3ab1.52,229,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:52.854 UTC,,,819,,5c2d3bd8.333,1,,2019-01-02 22:31:52 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:52.980 UTC,,,819,,5c2d3bd8.333,2,,2019-01-02 22:31:52 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:52.986 UTC,,,819,,5c2d3bd8.333,3,,2019-01-02 22:31:52 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:53.109 UTC,,,819,,5c2d3bd8.333,4,,2019-01-02 22:31:52 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:53.110 UTC,,,82,,5c2d3ab1.52,230,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:53.110 UTC,,,819,,5c2d3bd8.333,5,,2019-01-02 22:31:52 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400B298: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:53.188 UTC,,,828,,5c2d3bd9.33c,1,,2019-01-02 22:31:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:56.453 UTC,,,828,,5c2d3bd9.33c,2,,2019-01-02 22:31:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:31:56.455 UTC,,,819,,5c2d3bd8.333,6,,2019-01-02 22:31:52 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DD78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:56.753 UTC,,,831,,5c2d3bdc.33f,1,,2019-01-02 22:31:56 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:31:57.742 UTC,,,82,,5c2d3ab1.52,231,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 827) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:31:57.742 UTC,,,82,,5c2d3ab1.52,232,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:31:57.750 UTC,,,82,,5c2d3ab1.52,233,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:31:58.257 UTC,,,832,,5c2d3bde.340,1,,2019-01-02 22:31:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:31:58.363 UTC,,,832,,5c2d3bde.340,2,,2019-01-02 22:31:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:31:58.377 UTC,,,832,,5c2d3bde.340,3,,2019-01-02 22:31:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:31:58.391 UTC,,,835,"[local]",5c2d3bde.343,1,"",2019-01-02 22:31:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:58.391 UTC,"postgres","postgres",835,"[local]",5c2d3bde.343,2,"",2019-01-02 22:31:58 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:31:58.569 UTC,,,832,,5c2d3bde.340,4,,2019-01-02 22:31:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:31:58.569 UTC,,,82,,5c2d3ab1.52,234,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:31:58.570 UTC,,,832,,5c2d3bde.340,5,,2019-01-02 22:31:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DD78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:31:58.688 UTC,,,838,,5c2d3bde.346,1,,2019-01-02 22:31:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:31:58.834 UTC,,,841,"[local]",5c2d3bde.349,1,"",2019-01-02 22:31:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:31:58.834 UTC,"postgres","postgres",841,"[local]",5c2d3bde.349,2,"authentication",2019-01-02 22:31:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:01.476 UTC,,,838,,5c2d3bde.346,2,,2019-01-02 22:31:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:01.476 UTC,,,832,,5c2d3bde.340,6,,2019-01-02 22:31:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DDE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:01.860 UTC,,,846,,5c2d3be1.34e,1,,2019-01-02 22:32:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:03.039 UTC,,,82,,5c2d3ab1.52,235,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 837) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:03.039 UTC,,,82,,5c2d3ab1.52,236,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:03.040 UTC,"postgres","postgres",841,"[local]",5c2d3bde.349,3,"idle",2019-01-02 22:31:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:32:03.057 UTC,,,82,,5c2d3ab1.52,237,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:03.553 UTC,,,847,,5c2d3be3.34f,1,,2019-01-02 22:32:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:03.768 UTC,,,847,,5c2d3be3.34f,2,,2019-01-02 22:32:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:03.779 UTC,,,847,,5c2d3be3.34f,3,,2019-01-02 22:32:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:03.894 UTC,,,847,,5c2d3be3.34f,4,,2019-01-02 22:32:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:03.895 UTC,,,82,,5c2d3ab1.52,238,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:03.895 UTC,,,847,,5c2d3be3.34f,5,,2019-01-02 22:32:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DDE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:03.989 UTC,,,852,,5c2d3be3.354,1,,2019-01-02 22:32:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:06.490 UTC,,,852,,5c2d3be3.354,2,,2019-01-02 22:32:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:06.490 UTC,,,847,,5c2d3be3.34f,6,,2019-01-02 22:32:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DE58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:07.082 UTC,,,855,,5c2d3be6.357,1,,2019-01-02 22:32:06 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:08.353 UTC,,,82,,5c2d3ab1.52,239,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 851) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:08.353 UTC,,,82,,5c2d3ab1.52,240,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:08.365 UTC,,,82,,5c2d3ab1.52,241,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:08.656 UTC,,,856,,5c2d3be8.358,1,,2019-01-02 22:32:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:08.777 UTC,,,856,,5c2d3be8.358,2,,2019-01-02 22:32:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:08.783 UTC,,,856,,5c2d3be8.358,3,,2019-01-02 22:32:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:09.052 UTC,,,859,"[local]",5c2d3be9.35b,1,"",2019-01-02 22:32:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:09.052 UTC,"postgres","postgres",859,"[local]",5c2d3be9.35b,2,"",2019-01-02 22:32:09 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:32:09.063 UTC,,,861,"[local]",5c2d3be9.35d,1,"",2019-01-02 22:32:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:09.063 UTC,"postgres","postgres",861,"[local]",5c2d3be9.35d,2,"",2019-01-02 22:32:09 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:32:09.142 UTC,,,856,,5c2d3be8.358,4,,2019-01-02 22:32:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:09.143 UTC,,,82,,5c2d3ab1.52,242,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:09.143 UTC,,,856,,5c2d3be8.358,5,,2019-01-02 22:32:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DE58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:09.193 UTC,,,868,,5c2d3be9.364,1,,2019-01-02 22:32:09 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:11.890 UTC,,,868,,5c2d3be9.364,2,,2019-01-02 22:32:09 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:11.890 UTC,,,856,,5c2d3be8.358,6,,2019-01-02 22:32:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DEC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:12.269 UTC,,,871,,5c2d3beb.367,1,,2019-01-02 22:32:11 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:13.691 UTC,,,82,,5c2d3ab1.52,243,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 867) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:13.691 UTC,,,82,,5c2d3ab1.52,244,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:13.697 UTC,,,82,,5c2d3ab1.52,245,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:14.054 UTC,,,872,,5c2d3bee.368,1,,2019-01-02 22:32:14 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:14.109 UTC,,,872,,5c2d3bee.368,2,,2019-01-02 22:32:14 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:14.119 UTC,,,872,,5c2d3bee.368,3,,2019-01-02 22:32:14 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:14.461 UTC,,,872,,5c2d3bee.368,4,,2019-01-02 22:32:14 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:14.462 UTC,,,82,,5c2d3ab1.52,246,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:14.462 UTC,,,872,,5c2d3bee.368,5,,2019-01-02 22:32:14 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DEC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:14.479 UTC,,,877,,5c2d3bee.36d,1,,2019-01-02 22:32:14 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:16.957 UTC,,,877,,5c2d3bee.36d,2,,2019-01-02 22:32:14 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:16.957 UTC,,,872,,5c2d3bee.368,6,,2019-01-02 22:32:14 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DF38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:17.753 UTC,,,880,,5c2d3bf1.370,1,,2019-01-02 22:32:17 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:18.289 UTC,,,882,"[local]",5c2d3bf2.372,1,"",2019-01-02 22:32:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:18.294 UTC,"postgres","postgres",882,"[local]",5c2d3bf2.372,2,"authentication",2019-01-02 22:32:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:18.354 UTC,"postgres","postgres",882,"[local]",5c2d3bf2.372,3,"idle",2019-01-02 22:32:18 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.065 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:32:18.361 UTC,,,883,"[local]",5c2d3bf2.373,1,"",2019-01-02 22:32:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:18.362 UTC,"postgres","postgres",883,"[local]",5c2d3bf2.373,2,"authentication",2019-01-02 22:32:18 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:19.191 UTC,,,82,,5c2d3ab1.52,247,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 876) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:19.191 UTC,,,82,,5c2d3ab1.52,248,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:19.191 UTC,"postgres","postgres",883,"[local]",5c2d3bf2.373,3,"idle",2019-01-02 22:32:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:32:19.199 UTC,,,82,,5c2d3ab1.52,249,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:19.492 UTC,,,888,,5c2d3bf3.378,1,,2019-01-02 22:32:19 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:19.571 UTC,,,888,,5c2d3bf3.378,2,,2019-01-02 22:32:19 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:19.576 UTC,,,888,,5c2d3bf3.378,3,,2019-01-02 22:32:19 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:19.710 UTC,,,888,,5c2d3bf3.378,4,,2019-01-02 22:32:19 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:19.710 UTC,,,82,,5c2d3ab1.52,250,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:19.711 UTC,,,888,,5c2d3bf3.378,5,,2019-01-02 22:32:19 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DF38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:19.787 UTC,,,893,,5c2d3bf3.37d,1,,2019-01-02 22:32:19 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:22.569 UTC,,,893,,5c2d3bf3.37d,2,,2019-01-02 22:32:19 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:22.569 UTC,,,888,,5c2d3bf3.378,6,,2019-01-02 22:32:19 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DFA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:22.696 UTC,,,896,,5c2d3bf6.380,1,,2019-01-02 22:32:22 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:24.075 UTC,,,82,,5c2d3ab1.52,251,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 892) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:24.075 UTC,,,82,,5c2d3ab1.52,252,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:24.082 UTC,,,82,,5c2d3ab1.52,253,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:24.345 UTC,,,897,,5c2d3bf8.381,1,,2019-01-02 22:32:24 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:24.402 UTC,,,897,,5c2d3bf8.381,2,,2019-01-02 22:32:24 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:24.409 UTC,,,897,,5c2d3bf8.381,3,,2019-01-02 22:32:24 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:24.508 UTC,,,897,,5c2d3bf8.381,4,,2019-01-02 22:32:24 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:24.509 UTC,,,82,,5c2d3ab1.52,254,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:24.509 UTC,,,897,,5c2d3bf8.381,5,,2019-01-02 22:32:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400DFA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:24.561 UTC,,,902,,5c2d3bf8.386,1,,2019-01-02 22:32:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:27.653 UTC,,,902,,5c2d3bf8.386,2,,2019-01-02 22:32:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:27.655 UTC,,,897,,5c2d3bf8.381,6,,2019-01-02 22:32:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E030: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:28.056 UTC,,,905,,5c2d3bfb.389,1,,2019-01-02 22:32:27 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:28.764 UTC,,,906,"[local]",5c2d3bfc.38a,1,"",2019-01-02 22:32:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:28.764 UTC,"postgres","postgres",906,"[local]",5c2d3bfc.38a,2,"authentication",2019-01-02 22:32:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:29.074 UTC,,,82,,5c2d3ab1.52,255,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 901) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:29.074 UTC,,,82,,5c2d3ab1.52,256,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:29.074 UTC,"postgres","postgres",906,"[local]",5c2d3bfc.38a,3,"idle",2019-01-02 22:32:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:32:29.080 UTC,,,82,,5c2d3ab1.52,257,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:29.457 UTC,,,911,,5c2d3bfd.38f,1,,2019-01-02 22:32:29 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:29.512 UTC,,,911,,5c2d3bfd.38f,2,,2019-01-02 22:32:29 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:29.518 UTC,,,911,,5c2d3bfd.38f,3,,2019-01-02 22:32:29 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:29.601 UTC,,,911,,5c2d3bfd.38f,4,,2019-01-02 22:32:29 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:29.602 UTC,,,82,,5c2d3ab1.52,258,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:29.603 UTC,,,911,,5c2d3bfd.38f,5,,2019-01-02 22:32:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E030: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:29.690 UTC,,,916,,5c2d3bfd.394,1,,2019-01-02 22:32:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:32.753 UTC,,,916,,5c2d3bfd.394,2,,2019-01-02 22:32:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:32.755 UTC,,,911,,5c2d3bfd.38f,6,,2019-01-02 22:32:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E0A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:33.181 UTC,,,919,,5c2d3c00.397,1,,2019-01-02 22:32:32 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:34.092 UTC,,,82,,5c2d3ab1.52,259,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 915) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:34.092 UTC,,,82,,5c2d3ab1.52,260,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:34.099 UTC,,,82,,5c2d3ab1.52,261,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:34.654 UTC,,,920,,5c2d3c02.398,1,,2019-01-02 22:32:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:34.718 UTC,,,920,,5c2d3c02.398,2,,2019-01-02 22:32:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:34.723 UTC,,,920,,5c2d3c02.398,3,,2019-01-02 22:32:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:34.830 UTC,,,920,,5c2d3c02.398,4,,2019-01-02 22:32:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:34.830 UTC,,,82,,5c2d3ab1.52,262,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:34.831 UTC,,,920,,5c2d3c02.398,5,,2019-01-02 22:32:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E0A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:34.890 UTC,,,925,,5c2d3c02.39d,1,,2019-01-02 22:32:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:38.053 UTC,,,925,,5c2d3c02.39d,2,,2019-01-02 22:32:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:38.055 UTC,,,920,,5c2d3c02.398,6,,2019-01-02 22:32:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E110: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:38.285 UTC,,,928,,5c2d3c06.3a0,1,,2019-01-02 22:32:38 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:39.397 UTC,,,82,,5c2d3ab1.52,263,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 924) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:39.397 UTC,,,82,,5c2d3ab1.52,264,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:39.403 UTC,,,82,,5c2d3ab1.52,265,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:39.954 UTC,,,930,"[local]",5c2d3c07.3a2,1,"",2019-01-02 22:32:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:39.954 UTC,"postgres","postgres",930,"[local]",5c2d3c07.3a2,2,"",2019-01-02 22:32:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:39.957 UTC,,,929,,5c2d3c07.3a1,1,,2019-01-02 22:32:39 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:39.973 UTC,,,932,"[local]",5c2d3c07.3a4,1,"",2019-01-02 22:32:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:39.973 UTC,"postgres","postgres",932,"[local]",5c2d3c07.3a4,2,"",2019-01-02 22:32:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:40.094 UTC,,,929,,5c2d3c07.3a1,2,,2019-01-02 22:32:39 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:40.100 UTC,,,929,,5c2d3c07.3a1,3,,2019-01-02 22:32:39 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:40.205 UTC,,,929,,5c2d3c07.3a1,4,,2019-01-02 22:32:39 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:40.205 UTC,,,82,,5c2d3ab1.52,266,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:40.206 UTC,,,929,,5c2d3c07.3a1,5,,2019-01-02 22:32:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E110: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:40.288 UTC,,,941,,5c2d3c08.3ad,1,,2019-01-02 22:32:40 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:43.153 UTC,,,941,,5c2d3c08.3ad,2,,2019-01-02 22:32:40 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:43.153 UTC,,,929,,5c2d3c07.3a1,6,,2019-01-02 22:32:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E180: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:43.554 UTC,,,944,,5c2d3c0b.3b0,1,,2019-01-02 22:32:43 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:44.686 UTC,,,82,,5c2d3ab1.52,267,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 940) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:44.686 UTC,,,82,,5c2d3ab1.52,268,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:44.691 UTC,,,82,,5c2d3ab1.52,269,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:45.161 UTC,,,945,,5c2d3c0d.3b1,1,,2019-01-02 22:32:45 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:45.264 UTC,,,945,,5c2d3c0d.3b1,2,,2019-01-02 22:32:45 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:45.269 UTC,,,945,,5c2d3c0d.3b1,3,,2019-01-02 22:32:45 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:45.327 UTC,,,945,,5c2d3c0d.3b1,4,,2019-01-02 22:32:45 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:45.353 UTC,,,82,,5c2d3ab1.52,270,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:45.354 UTC,,,945,,5c2d3c0d.3b1,5,,2019-01-02 22:32:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E180: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:45.376 UTC,,,950,,5c2d3c0d.3b6,1,,2019-01-02 22:32:45 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:48.016 UTC,,,954,"[local]",5c2d3c10.3ba,1,"",2019-01-02 22:32:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:48.017 UTC,"postgres","postgres",954,"[local]",5c2d3c10.3ba,2,"authentication",2019-01-02 22:32:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:48.022 UTC,"postgres","postgres",954,"[local]",5c2d3c10.3ba,3,"idle",2019-01-02 22:32:48 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:32:48.024 UTC,,,955,"[local]",5c2d3c10.3bb,1,"",2019-01-02 22:32:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:48.025 UTC,"postgres","postgres",955,"[local]",5c2d3c10.3bb,2,"authentication",2019-01-02 22:32:48 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:48.453 UTC,,,950,,5c2d3c0d.3b6,2,,2019-01-02 22:32:45 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:48.455 UTC,,,945,,5c2d3c0d.3b1,6,,2019-01-02 22:32:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E1F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:48.963 UTC,,,960,,5c2d3c10.3c0,1,,2019-01-02 22:32:48 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:49.995 UTC,,,82,,5c2d3ab1.52,271,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 949) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:49.995 UTC,,,82,,5c2d3ab1.52,272,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:49.995 UTC,"postgres","postgres",955,"[local]",5c2d3c10.3bb,3,"idle",2019-01-02 22:32:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:32:50.005 UTC,,,82,,5c2d3ab1.52,273,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:50.353 UTC,,,961,,5c2d3c12.3c1,1,,2019-01-02 22:32:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:50.413 UTC,,,961,,5c2d3c12.3c1,2,,2019-01-02 22:32:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:50.454 UTC,,,961,,5c2d3c12.3c1,3,,2019-01-02 22:32:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:50.599 UTC,,,961,,5c2d3c12.3c1,4,,2019-01-02 22:32:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:50.600 UTC,,,82,,5c2d3ab1.52,274,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:50.600 UTC,,,961,,5c2d3c12.3c1,5,,2019-01-02 22:32:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/1400E1F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:50.688 UTC,,,966,,5c2d3c12.3c6,1,,2019-01-02 22:32:50 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:54.053 UTC,,,966,,5c2d3c12.3c6,2,,2019-01-02 22:32:50 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:54.056 UTC,,,961,,5c2d3c12.3c1,6,,2019-01-02 22:32:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010858: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:54.677 UTC,,,973,,5c2d3c16.3cd,1,,2019-01-02 22:32:54 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:32:54.950 UTC,,,82,,5c2d3ab1.52,275,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 965) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:32:54.950 UTC,,,82,,5c2d3ab1.52,276,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:32:54.965 UTC,,,82,,5c2d3ab1.52,277,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:32:55.455 UTC,,,974,,5c2d3c17.3ce,1,,2019-01-02 22:32:55 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:32:55.556 UTC,,,974,,5c2d3c17.3ce,2,,2019-01-02 22:32:55 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:32:55.563 UTC,,,974,,5c2d3c17.3ce,3,,2019-01-02 22:32:55 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:32:55.677 UTC,,,974,,5c2d3c17.3ce,4,,2019-01-02 22:32:55 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:32:55.677 UTC,,,82,,5c2d3ab1.52,278,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:32:55.678 UTC,,,974,,5c2d3c17.3ce,5,,2019-01-02 22:32:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010858: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:55.785 UTC,,,979,,5c2d3c17.3d3,1,,2019-01-02 22:32:55 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:32:58.181 UTC,,,982,"[local]",5c2d3c1a.3d6,1,"",2019-01-02 22:32:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:32:58.181 UTC,"postgres","postgres",982,"[local]",5c2d3c1a.3d6,2,"authentication",2019-01-02 22:32:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:32:59.353 UTC,,,979,,5c2d3c17.3d3,2,,2019-01-02 22:32:55 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:32:59.356 UTC,,,974,,5c2d3c17.3ce,6,,2019-01-02 22:32:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/140108C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:32:59.880 UTC,,,991,,5c2d3c1b.3df,1,,2019-01-02 22:32:59 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:00.129 UTC,,,82,,5c2d3ab1.52,279,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 978) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:00.129 UTC,,,82,,5c2d3ab1.52,280,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:00.129 UTC,"postgres","postgres",982,"[local]",5c2d3c1a.3d6,3,"idle",2019-01-02 22:32:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:00.136 UTC,,,82,,5c2d3ab1.52,281,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:00.754 UTC,,,992,,5c2d3c1c.3e0,1,,2019-01-02 22:33:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:00.816 UTC,,,992,,5c2d3c1c.3e0,2,,2019-01-02 22:33:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:00.854 UTC,,,992,,5c2d3c1c.3e0,3,,2019-01-02 22:33:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:00.956 UTC,,,992,,5c2d3c1c.3e0,4,,2019-01-02 22:33:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:00.957 UTC,,,82,,5c2d3ab1.52,282,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:00.957 UTC,,,992,,5c2d3c1c.3e0,5,,2019-01-02 22:33:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/140108C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:00.976 UTC,,,997,,5c2d3c1c.3e5,1,,2019-01-02 22:33:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:04.853 UTC,,,997,,5c2d3c1c.3e5,2,,2019-01-02 22:33:00 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:04.855 UTC,,,992,,5c2d3c1c.3e0,6,,2019-01-02 22:33:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010938: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:05.153 UTC,,,1000,,5c2d3c20.3e8,1,,2019-01-02 22:33:04 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:05.573 UTC,,,82,,5c2d3ab1.52,283,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 996) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:05.573 UTC,,,82,,5c2d3ab1.52,284,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:05.580 UTC,,,82,,5c2d3ab1.52,285,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:06.254 UTC,,,1001,,5c2d3c22.3e9,1,,2019-01-02 22:33:06 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:06.324 UTC,,,1001,,5c2d3c22.3e9,2,,2019-01-02 22:33:06 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:06.354 UTC,,,1001,,5c2d3c22.3e9,3,,2019-01-02 22:33:06 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:06.431 UTC,,,1001,,5c2d3c22.3e9,4,,2019-01-02 22:33:06 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:06.453 UTC,,,82,,5c2d3ab1.52,286,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:06.454 UTC,,,1001,,5c2d3c22.3e9,5,,2019-01-02 22:33:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010938: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:06.486 UTC,,,1006,,5c2d3c22.3ee,1,,2019-01-02 22:33:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:08.659 UTC,,,1009,"[local]",5c2d3c24.3f1,1,"",2019-01-02 22:33:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:08.755 UTC,"postgres","postgres",1009,"[local]",5c2d3c24.3f1,2,"authentication",2019-01-02 22:33:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:09.853 UTC,,,1006,,5c2d3c22.3ee,2,,2019-01-02 22:33:06 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:09.855 UTC,,,1001,,5c2d3c22.3e9,6,,2019-01-02 22:33:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/140109A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:10.286 UTC,,,1014,,5c2d3c25.3f6,1,,2019-01-02 22:33:09 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:10.898 UTC,,,82,,5c2d3ab1.52,287,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1005) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:10.898 UTC,,,82,,5c2d3ab1.52,288,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:10.898 UTC,"postgres","postgres",1009,"[local]",5c2d3c24.3f1,3,"idle",2019-01-02 22:33:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:10.908 UTC,,,82,,5c2d3ab1.52,289,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:11.162 UTC,,,1015,,5c2d3c27.3f7,1,,2019-01-02 22:33:11 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:11.222 UTC,,,1015,,5c2d3c27.3f7,2,,2019-01-02 22:33:11 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:11.254 UTC,,,1015,,5c2d3c27.3f7,3,,2019-01-02 22:33:11 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:11.543 UTC,,,1015,,5c2d3c27.3f7,4,,2019-01-02 22:33:11 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:11.544 UTC,,,82,,5c2d3ab1.52,290,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:11.544 UTC,,,1015,,5c2d3c27.3f7,5,,2019-01-02 22:33:11 UTC,1/0,0,LOG,00000,"invalid record length at 0/140109A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:11.577 UTC,,,1020,,5c2d3c27.3fc,1,,2019-01-02 22:33:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:15.154 UTC,,,1020,,5c2d3c27.3fc,2,,2019-01-02 22:33:11 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:15.154 UTC,,,1015,,5c2d3c27.3f7,6,,2019-01-02 22:33:11 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010A18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:15.453 UTC,,,1023,,5c2d3c2b.3ff,1,,2019-01-02 22:33:15 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:16.113 UTC,,,82,,5c2d3ab1.52,291,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1019) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:16.114 UTC,,,82,,5c2d3ab1.52,292,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:16.121 UTC,,,82,,5c2d3ab1.52,293,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:16.342 UTC,,,1024,,5c2d3c2c.400,1,,2019-01-02 22:33:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:16.397 UTC,,,1024,,5c2d3c2c.400,2,,2019-01-02 22:33:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:16.467 UTC,,,1024,,5c2d3c2c.400,3,,2019-01-02 22:33:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:16.564 UTC,,,1024,,5c2d3c2c.400,4,,2019-01-02 22:33:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:16.564 UTC,,,82,,5c2d3ab1.52,294,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:16.565 UTC,,,1024,,5c2d3c2c.400,5,,2019-01-02 22:33:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010A18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:16.590 UTC,,,1029,,5c2d3c2c.405,1,,2019-01-02 22:33:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:18.255 UTC,,,1032,"[local]",5c2d3c2e.408,1,"",2019-01-02 22:33:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:18.256 UTC,"postgres","postgres",1032,"[local]",5c2d3c2e.408,2,"authentication",2019-01-02 22:33:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:20.453 UTC,,,1029,,5c2d3c2c.405,2,,2019-01-02 22:33:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:20.455 UTC,,,1024,,5c2d3c2c.400,6,,2019-01-02 22:33:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010A88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:20.789 UTC,,,1041,,5c2d3c30.411,1,,2019-01-02 22:33:20 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:21.142 UTC,,,82,,5c2d3ab1.52,295,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1028) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:21.142 UTC,,,82,,5c2d3ab1.52,296,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:21.142 UTC,"postgres","postgres",1032,"[local]",5c2d3c2e.408,3,"idle",2019-01-02 22:33:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:21.152 UTC,,,82,,5c2d3ab1.52,297,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:21.407 UTC,,,1042,,5c2d3c31.412,1,,2019-01-02 22:33:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:21.495 UTC,,,1042,,5c2d3c31.412,2,,2019-01-02 22:33:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:21.500 UTC,,,1042,,5c2d3c31.412,3,,2019-01-02 22:33:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:21.728 UTC,,,1042,,5c2d3c31.412,4,,2019-01-02 22:33:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:21.728 UTC,,,82,,5c2d3ab1.52,298,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:21.729 UTC,,,1042,,5c2d3c31.412,5,,2019-01-02 22:33:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010A88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:21.789 UTC,,,1047,,5c2d3c31.417,1,,2019-01-02 22:33:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:25.670 UTC,,,1047,,5c2d3c31.417,2,,2019-01-02 22:33:21 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:25.672 UTC,,,1042,,5c2d3c31.412,6,,2019-01-02 22:33:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010AF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:26.189 UTC,,,82,,5c2d3ab1.52,299,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1046) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:26.189 UTC,,,82,,5c2d3ab1.52,300,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:26.197 UTC,,,82,,5c2d3ab1.52,301,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:26.660 UTC,,,1051,,5c2d3c36.41b,1,,2019-01-02 22:33:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:26.762 UTC,,,1051,,5c2d3c36.41b,2,,2019-01-02 22:33:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:26.768 UTC,,,1051,,5c2d3c36.41b,3,,2019-01-02 22:33:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:26.904 UTC,,,1051,,5c2d3c36.41b,4,,2019-01-02 22:33:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:26.905 UTC,,,82,,5c2d3ab1.52,302,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:26.906 UTC,,,1051,,5c2d3c36.41b,5,,2019-01-02 22:33:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010AF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:26.986 UTC,,,1056,,5c2d3c36.420,1,,2019-01-02 22:33:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:28.107 UTC,,,1059,"[local]",5c2d3c38.423,1,"",2019-01-02 22:33:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:28.107 UTC,"postgres","postgres",1059,"[local]",5c2d3c38.423,2,"authentication",2019-01-02 22:33:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:31.153 UTC,,,1056,,5c2d3c36.420,2,,2019-01-02 22:33:26 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:31.155 UTC,,,1051,,5c2d3c36.41b,6,,2019-01-02 22:33:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010B68: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:31.442 UTC,,,82,,5c2d3ab1.52,303,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1055) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:31.442 UTC,,,82,,5c2d3ab1.52,304,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:31.442 UTC,"postgres","postgres",1059,"[local]",5c2d3c38.423,3,"idle",2019-01-02 22:33:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:31.452 UTC,,,82,,5c2d3ab1.52,305,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:31.954 UTC,,,1065,,5c2d3c3b.429,1,,2019-01-02 22:33:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:32.012 UTC,,,1065,,5c2d3c3b.429,2,,2019-01-02 22:33:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:32.017 UTC,,,1065,,5c2d3c3b.429,3,,2019-01-02 22:33:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:32.135 UTC,,,1065,,5c2d3c3b.429,4,,2019-01-02 22:33:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:32.136 UTC,,,82,,5c2d3ab1.52,306,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:32.137 UTC,,,1065,,5c2d3c3b.429,5,,2019-01-02 22:33:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010B68: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:32.191 UTC,,,1070,,5c2d3c3c.42e,1,,2019-01-02 22:33:32 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:36.553 UTC,,,1070,,5c2d3c3c.42e,2,,2019-01-02 22:33:32 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:36.555 UTC,,,1065,,5c2d3c3b.429,6,,2019-01-02 22:33:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010BD8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:36.758 UTC,,,1073,,5c2d3c40.431,1,,2019-01-02 22:33:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:36.827 UTC,,,82,,5c2d3ab1.52,307,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1069) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:36.827 UTC,,,82,,5c2d3ab1.52,308,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:36.835 UTC,,,82,,5c2d3ab1.52,309,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:37.555 UTC,,,1074,,5c2d3c41.432,1,,2019-01-02 22:33:37 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:37.618 UTC,,,1074,,5c2d3c41.432,2,,2019-01-02 22:33:37 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:37.661 UTC,,,1074,,5c2d3c41.432,3,,2019-01-02 22:33:37 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:37.773 UTC,,,1074,,5c2d3c41.432,4,,2019-01-02 22:33:37 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:37.774 UTC,,,82,,5c2d3ab1.52,310,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:37.774 UTC,,,1074,,5c2d3c41.432,5,,2019-01-02 22:33:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010BD8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:37.792 UTC,,,1079,,5c2d3c41.437,1,,2019-01-02 22:33:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:39.053 UTC,,,1082,"[local]",5c2d3c43.43a,1,"",2019-01-02 22:33:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:39.054 UTC,"postgres","postgres",1082,"[local]",5c2d3c43.43a,2,"authentication",2019-01-02 22:33:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:41.554 UTC,,,1079,,5c2d3c41.437,2,,2019-01-02 22:33:37 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:41.555 UTC,,,1074,,5c2d3c41.432,6,,2019-01-02 22:33:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010C48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:42.153 UTC,,,1091,,5c2d3c45.443,1,,2019-01-02 22:33:41 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:42.292 UTC,,,82,,5c2d3ab1.52,311,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1078) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:42.292 UTC,,,82,,5c2d3ab1.52,312,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:42.293 UTC,"postgres","postgres",1082,"[local]",5c2d3c43.43a,3,"idle",2019-01-02 22:33:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:42.302 UTC,,,82,,5c2d3ab1.52,313,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:42.654 UTC,,,1092,,5c2d3c46.444,1,,2019-01-02 22:33:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:42.709 UTC,,,1092,,5c2d3c46.444,2,,2019-01-02 22:33:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:42.714 UTC,,,1092,,5c2d3c46.444,3,,2019-01-02 22:33:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:42.811 UTC,,,1092,,5c2d3c46.444,4,,2019-01-02 22:33:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:42.811 UTC,,,82,,5c2d3ab1.52,314,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:42.812 UTC,,,1092,,5c2d3c46.444,5,,2019-01-02 22:33:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010C48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:42.868 UTC,,,1097,,5c2d3c46.449,1,,2019-01-02 22:33:42 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:47.053 UTC,,,1097,,5c2d3c46.449,2,,2019-01-02 22:33:42 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:47.055 UTC,,,1092,,5c2d3c46.444,6,,2019-01-02 22:33:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010CB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:47.346 UTC,,,82,,5c2d3ab1.52,315,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1096) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:47.346 UTC,,,82,,5c2d3ab1.52,316,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:47.353 UTC,,,82,,5c2d3ab1.52,317,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:47.757 UTC,,,1101,,5c2d3c4b.44d,1,,2019-01-02 22:33:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:47.808 UTC,,,1101,,5c2d3c4b.44d,2,,2019-01-02 22:33:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:47.814 UTC,,,1101,,5c2d3c4b.44d,3,,2019-01-02 22:33:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:47.970 UTC,,,1101,,5c2d3c4b.44d,4,,2019-01-02 22:33:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:47.971 UTC,,,82,,5c2d3ab1.52,318,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:47.971 UTC,,,1101,,5c2d3c4b.44d,5,,2019-01-02 22:33:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010CB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:48.254 UTC,,,1106,,5c2d3c4b.452,1,,2019-01-02 22:33:47 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:48.755 UTC,,,1109,"[local]",5c2d3c4c.455,1,"",2019-01-02 22:33:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:48.756 UTC,"postgres","postgres",1109,"[local]",5c2d3c4c.455,2,"authentication",2019-01-02 22:33:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:52.453 UTC,,,1106,,5c2d3c4b.452,2,,2019-01-02 22:33:47 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:52.456 UTC,,,1101,,5c2d3c4b.44d,6,,2019-01-02 22:33:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010D28: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:52.540 UTC,,,82,,5c2d3ab1.52,319,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1105) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:52.540 UTC,,,82,,5c2d3ab1.52,320,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:52.540 UTC,"postgres","postgres",1109,"[local]",5c2d3c4c.455,3,"idle",2019-01-02 22:33:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:33:52.553 UTC,,,82,,5c2d3ab1.52,321,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:53.054 UTC,,,1115,,5c2d3c51.45b,1,,2019-01-02 22:33:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:53.178 UTC,,,1115,,5c2d3c51.45b,2,,2019-01-02 22:33:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:53.185 UTC,,,1115,,5c2d3c51.45b,3,,2019-01-02 22:33:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:53.335 UTC,,,1115,,5c2d3c51.45b,4,,2019-01-02 22:33:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:53.336 UTC,,,82,,5c2d3ab1.52,322,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:53.336 UTC,,,1115,,5c2d3c51.45b,5,,2019-01-02 22:33:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14010D28: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:53.385 UTC,,,1124,,5c2d3c51.464,1,,2019-01-02 22:33:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:33:57.753 UTC,,,1124,,5c2d3c51.464,2,,2019-01-02 22:33:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:33:57.755 UTC,,,1115,,5c2d3c51.45b,6,,2019-01-02 22:33:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013390: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:57.885 UTC,,,82,,5c2d3ab1.52,323,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1123) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:33:57.885 UTC,,,82,,5c2d3ab1.52,324,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:33:57.895 UTC,,,82,,5c2d3ab1.52,325,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:33:58.354 UTC,,,1129,"[local]",5c2d3c56.469,1,"",2019-01-02 22:33:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:58.354 UTC,"postgres","postgres",1129,"[local]",5c2d3c56.469,2,"",2019-01-02 22:33:58 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:33:58.356 UTC,,,1128,,5c2d3c56.468,1,,2019-01-02 22:33:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:33:58.460 UTC,,,1128,,5c2d3c56.468,2,,2019-01-02 22:33:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:33:58.473 UTC,,,1128,,5c2d3c56.468,3,,2019-01-02 22:33:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:33:58.600 UTC,,,1128,,5c2d3c56.468,4,,2019-01-02 22:33:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:33:58.601 UTC,,,82,,5c2d3ab1.52,326,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:33:58.601 UTC,,,1128,,5c2d3c56.468,5,,2019-01-02 22:33:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013390: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:33:58.636 UTC,,,1135,"[local]",5c2d3c56.46f,1,"",2019-01-02 22:33:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:33:58.637 UTC,"postgres","postgres",1135,"[local]",5c2d3c56.46f,2,"authentication",2019-01-02 22:33:58 UTC,2/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:33:58.661 UTC,,,1134,,5c2d3c56.46e,1,,2019-01-02 22:33:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:02.857 UTC,,,1134,,5c2d3c56.46e,2,,2019-01-02 22:33:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:02.857 UTC,,,1128,,5c2d3c56.468,6,,2019-01-02 22:33:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013400: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:03.147 UTC,,,82,,5c2d3ab1.52,327,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1133) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:03.147 UTC,,,82,,5c2d3ab1.52,328,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:03.147 UTC,"postgres","postgres",1135,"[local]",5c2d3c56.46f,3,"idle",2019-01-02 22:33:58 UTC,2/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:03.158 UTC,,,82,,5c2d3ab1.52,329,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:03.656 UTC,,,1147,,5c2d3c5b.47b,1,,2019-01-02 22:34:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:03.761 UTC,,,1147,,5c2d3c5b.47b,2,,2019-01-02 22:34:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:03.770 UTC,,,1147,,5c2d3c5b.47b,3,,2019-01-02 22:34:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:03.879 UTC,,,1147,,5c2d3c5b.47b,4,,2019-01-02 22:34:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:03.880 UTC,,,82,,5c2d3ab1.52,330,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:03.881 UTC,,,1147,,5c2d3c5b.47b,5,,2019-01-02 22:34:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013400: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:03.898 UTC,,,1152,,5c2d3c5b.480,1,,2019-01-02 22:34:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:08.196 UTC,,,1152,,5c2d3c5b.480,2,,2019-01-02 22:34:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:08.197 UTC,,,1147,,5c2d3c5b.47b,6,,2019-01-02 22:34:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013470: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:08.349 UTC,,,82,,5c2d3ab1.52,331,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1151) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:08.349 UTC,,,82,,5c2d3ab1.52,332,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:08.361 UTC,,,82,,5c2d3ab1.52,333,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:08.715 UTC,,,1156,,5c2d3c60.484,1,,2019-01-02 22:34:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:08.805 UTC,,,1156,,5c2d3c60.484,2,,2019-01-02 22:34:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:08.812 UTC,,,1156,,5c2d3c60.484,3,,2019-01-02 22:34:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:08.912 UTC,,,1156,,5c2d3c60.484,4,,2019-01-02 22:34:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:08.913 UTC,,,82,,5c2d3ab1.52,334,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:08.913 UTC,,,1156,,5c2d3c60.484,5,,2019-01-02 22:34:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013470: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:08.959 UTC,,,1161,,5c2d3c60.489,1,,2019-01-02 22:34:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:09.354 UTC,,,1164,"[local]",5c2d3c61.48c,1,"",2019-01-02 22:34:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:09.356 UTC,"postgres","postgres",1164,"[local]",5c2d3c61.48c,2,"authentication",2019-01-02 22:34:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:34:09.361 UTC,,,1165,"127.0.0.1:48644",5c2d3c61.48d,1,"",2019-01-02 22:34:09 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48644",,,,,,,,,""
2019-01-02 22:34:09.366 UTC,"standby","",1165,"127.0.0.1:48644",5c2d3c61.48d,2,"authentication",2019-01-02 22:34:09 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:34:09.368 UTC,"standby","",1165,"127.0.0.1:48644",5c2d3c61.48d,3,"idle",2019-01-02 22:34:09 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=standby database= host=127.0.0.1 port=48644",,,,,,,,,""
2019-01-02 22:34:13.919 UTC,,,1161,,5c2d3c60.489,2,,2019-01-02 22:34:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:13.925 UTC,,,1156,,5c2d3c60.484,6,,2019-01-02 22:34:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/140134E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:14.096 UTC,,,82,,5c2d3ab1.52,335,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1160) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:14.096 UTC,,,82,,5c2d3ab1.52,336,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:14.096 UTC,"postgres","postgres",1164,"[local]",5c2d3c61.48c,3,"idle",2019-01-02 22:34:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:14.105 UTC,,,82,,5c2d3ab1.52,337,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:14.654 UTC,,,1171,,5c2d3c66.493,1,,2019-01-02 22:34:14 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:14.716 UTC,,,1171,,5c2d3c66.493,2,,2019-01-02 22:34:14 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:14.722 UTC,,,1171,,5c2d3c66.493,3,,2019-01-02 22:34:14 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:14.869 UTC,,,1171,,5c2d3c66.493,4,,2019-01-02 22:34:14 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:14.870 UTC,,,82,,5c2d3ab1.52,338,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:14.870 UTC,,,1171,,5c2d3c66.493,5,,2019-01-02 22:34:14 UTC,1/0,0,LOG,00000,"invalid record length at 0/140134E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:14.889 UTC,,,1176,,5c2d3c66.498,1,,2019-01-02 22:34:14 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:18.757 UTC,,,1179,"[local]",5c2d3c6a.49b,1,"",2019-01-02 22:34:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:18.760 UTC,"postgres","postgres",1179,"[local]",5c2d3c6a.49b,2,"authentication",2019-01-02 22:34:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:34:19.254 UTC,,,1176,,5c2d3c66.498,2,,2019-01-02 22:34:14 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:19.257 UTC,,,1171,,5c2d3c66.493,6,,2019-01-02 22:34:14 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013550: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:19.549 UTC,,,82,,5c2d3ab1.52,339,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1175) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:19.549 UTC,,,82,,5c2d3ab1.52,340,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:19.549 UTC,"postgres","postgres",1179,"[local]",5c2d3c6a.49b,3,"idle",2019-01-02 22:34:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:19.558 UTC,,,82,,5c2d3ab1.52,341,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:19.954 UTC,,,1185,,5c2d3c6b.4a1,1,,2019-01-02 22:34:19 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:20.011 UTC,,,1185,,5c2d3c6b.4a1,2,,2019-01-02 22:34:19 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:20.016 UTC,,,1185,,5c2d3c6b.4a1,3,,2019-01-02 22:34:19 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:20.113 UTC,,,1185,,5c2d3c6b.4a1,4,,2019-01-02 22:34:19 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:20.113 UTC,,,82,,5c2d3ab1.52,342,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:20.114 UTC,,,1185,,5c2d3c6b.4a1,5,,2019-01-02 22:34:19 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013550: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:20.165 UTC,,,1190,,5c2d3c6c.4a6,1,,2019-01-02 22:34:20 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:24.553 UTC,,,1190,,5c2d3c6c.4a6,2,,2019-01-02 22:34:20 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:24.555 UTC,,,1185,,5c2d3c6b.4a1,6,,2019-01-02 22:34:19 UTC,1/0,0,LOG,00000,"invalid record length at 0/140135C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:24.722 UTC,,,82,,5c2d3ab1.52,343,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1189) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:24.722 UTC,,,82,,5c2d3ab1.52,344,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:24.731 UTC,,,82,,5c2d3ab1.52,345,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:25.254 UTC,,,1194,,5c2d3c71.4aa,1,,2019-01-02 22:34:25 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:25.316 UTC,,,1194,,5c2d3c71.4aa,2,,2019-01-02 22:34:25 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:25.355 UTC,,,1194,,5c2d3c71.4aa,3,,2019-01-02 22:34:25 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:25.460 UTC,,,1194,,5c2d3c71.4aa,4,,2019-01-02 22:34:25 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:25.461 UTC,,,82,,5c2d3ab1.52,346,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:25.461 UTC,,,1194,,5c2d3c71.4aa,5,,2019-01-02 22:34:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/140135C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:25.490 UTC,,,1199,,5c2d3c71.4af,1,,2019-01-02 22:34:25 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:28.564 UTC,,,1202,"[local]",5c2d3c74.4b2,1,"",2019-01-02 22:34:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:28.564 UTC,"postgres","postgres",1202,"[local]",5c2d3c74.4b2,2,"authentication",2019-01-02 22:34:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:34:29.854 UTC,,,1199,,5c2d3c71.4af,2,,2019-01-02 22:34:25 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:29.855 UTC,,,1194,,5c2d3c71.4aa,6,,2019-01-02 22:34:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013630: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:30.044 UTC,,,82,,5c2d3ab1.52,347,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1198) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:30.044 UTC,,,82,,5c2d3ab1.52,348,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:30.044 UTC,"postgres","postgres",1202,"[local]",5c2d3c74.4b2,3,"idle",2019-01-02 22:34:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:30.053 UTC,,,82,,5c2d3ab1.52,349,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:30.555 UTC,,,1212,,5c2d3c76.4bc,1,,2019-01-02 22:34:30 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:30.631 UTC,,,1212,,5c2d3c76.4bc,2,,2019-01-02 22:34:30 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:30.638 UTC,,,1212,,5c2d3c76.4bc,3,,2019-01-02 22:34:30 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:30.709 UTC,,,1212,,5c2d3c76.4bc,4,,2019-01-02 22:34:30 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:30.710 UTC,,,82,,5c2d3ab1.52,350,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:30.710 UTC,,,1212,,5c2d3c76.4bc,5,,2019-01-02 22:34:30 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013630: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:30.790 UTC,,,1217,,5c2d3c76.4c1,1,,2019-01-02 22:34:30 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:35.162 UTC,,,1217,,5c2d3c76.4c1,2,,2019-01-02 22:34:30 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:35.163 UTC,,,1212,,5c2d3c76.4bc,6,,2019-01-02 22:34:30 UTC,1/0,0,LOG,00000,"invalid record length at 0/140136A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:35.246 UTC,,,82,,5c2d3ab1.52,351,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1216) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:35.246 UTC,,,82,,5c2d3ab1.52,352,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:35.254 UTC,,,82,,5c2d3ab1.52,353,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:35.554 UTC,,,1221,,5c2d3c7b.4c5,1,,2019-01-02 22:34:35 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:35.609 UTC,,,1221,,5c2d3c7b.4c5,2,,2019-01-02 22:34:35 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:35.616 UTC,,,1221,,5c2d3c7b.4c5,3,,2019-01-02 22:34:35 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:35.721 UTC,,,1221,,5c2d3c7b.4c5,4,,2019-01-02 22:34:35 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:35.722 UTC,,,82,,5c2d3ab1.52,354,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:35.753 UTC,,,1221,,5c2d3c7b.4c5,5,,2019-01-02 22:34:35 UTC,1/0,0,LOG,00000,"invalid record length at 0/140136A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:35.775 UTC,,,1226,,5c2d3c7b.4ca,1,,2019-01-02 22:34:35 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:38.753 UTC,,,1229,"[local]",5c2d3c7e.4cd,1,"",2019-01-02 22:34:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:38.754 UTC,"postgres","postgres",1229,"[local]",5c2d3c7e.4cd,2,"authentication",2019-01-02 22:34:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:34:40.264 UTC,,,82,,5c2d3ab1.52,355,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1225) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:40.264 UTC,,,82,,5c2d3ab1.52,356,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:40.264 UTC,"postgres","postgres",1229,"[local]",5c2d3c7e.4cd,3,"idle",2019-01-02 22:34:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:40.289 UTC,,,82,,5c2d3ab1.52,357,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:40.755 UTC,,,1234,,5c2d3c80.4d2,1,,2019-01-02 22:34:40 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:40.812 UTC,,,1234,,5c2d3c80.4d2,2,,2019-01-02 22:34:40 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:40.818 UTC,,,1234,,5c2d3c80.4d2,3,,2019-01-02 22:34:40 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:40.916 UTC,,,1234,,5c2d3c80.4d2,4,,2019-01-02 22:34:40 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:40.917 UTC,,,82,,5c2d3ab1.52,358,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:40.917 UTC,,,1234,,5c2d3c80.4d2,5,,2019-01-02 22:34:40 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013710: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:40.995 UTC,,,1239,,5c2d3c80.4d7,1,,2019-01-02 22:34:40 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:45.380 UTC,,,82,,5c2d3ab1.52,359,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1238) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:45.380 UTC,,,82,,5c2d3ab1.52,360,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:45.387 UTC,,,82,,5c2d3ab1.52,361,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:45.854 UTC,,,1242,,5c2d3c85.4da,1,,2019-01-02 22:34:45 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:45.909 UTC,,,1242,,5c2d3c85.4da,2,,2019-01-02 22:34:45 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:45.917 UTC,,,1242,,5c2d3c85.4da,3,,2019-01-02 22:34:45 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:46.011 UTC,,,1242,,5c2d3c85.4da,4,,2019-01-02 22:34:45 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:46.012 UTC,,,82,,5c2d3ab1.52,362,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:46.012 UTC,,,1242,,5c2d3c85.4da,5,,2019-01-02 22:34:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14013780: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:46.072 UTC,,,1247,,5c2d3c86.4df,1,,2019-01-02 22:34:46 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:48.234 UTC,,,1250,"[local]",5c2d3c88.4e2,1,"",2019-01-02 22:34:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:48.234 UTC,"postgres","postgres",1250,"[local]",5c2d3c88.4e2,2,"authentication",2019-01-02 22:34:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:34:50.552 UTC,,,82,,5c2d3ab1.52,363,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1246) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:50.552 UTC,,,82,,5c2d3ab1.52,364,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:50.552 UTC,"postgres","postgres",1250,"[local]",5c2d3c88.4e2,3,"idle",2019-01-02 22:34:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:34:50.563 UTC,,,82,,5c2d3ab1.52,365,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:51.031 UTC,,,1255,,5c2d3c8b.4e7,1,,2019-01-02 22:34:51 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:51.092 UTC,,,1255,,5c2d3c8b.4e7,2,,2019-01-02 22:34:51 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:51.098 UTC,,,1255,,5c2d3c8b.4e7,3,,2019-01-02 22:34:51 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:51.193 UTC,,,1255,,5c2d3c8b.4e7,4,,2019-01-02 22:34:51 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:51.193 UTC,,,82,,5c2d3ab1.52,366,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:51.194 UTC,,,1255,,5c2d3c8b.4e7,5,,2019-01-02 22:34:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/140137F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:51.287 UTC,,,1260,,5c2d3c8b.4ec,1,,2019-01-02 22:34:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:55.496 UTC,,,1260,,5c2d3c8b.4ec,2,,2019-01-02 22:34:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:34:55.497 UTC,,,1255,,5c2d3c8b.4e7,6,,2019-01-02 22:34:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/14015E58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:55.563 UTC,,,82,,5c2d3ab1.52,367,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1259) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:34:55.563 UTC,,,82,,5c2d3ab1.52,368,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:34:55.571 UTC,,,82,,5c2d3ab1.52,369,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:34:55.857 UTC,,,1268,,5c2d3c8f.4f4,1,,2019-01-02 22:34:55 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:34:55.912 UTC,,,1268,,5c2d3c8f.4f4,2,,2019-01-02 22:34:55 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:34:55.954 UTC,,,1268,,5c2d3c8f.4f4,3,,2019-01-02 22:34:55 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:34:56.060 UTC,,,1268,,5c2d3c8f.4f4,4,,2019-01-02 22:34:55 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:34:56.061 UTC,,,82,,5c2d3ab1.52,370,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:34:56.061 UTC,,,1268,,5c2d3c8f.4f4,5,,2019-01-02 22:34:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/14015E58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:34:56.082 UTC,,,1273,,5c2d3c90.4f9,1,,2019-01-02 22:34:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:34:58.470 UTC,,,1276,"[local]",5c2d3c92.4fc,1,"",2019-01-02 22:34:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:34:58.471 UTC,"postgres","postgres",1276,"[local]",5c2d3c92.4fc,2,"authentication",2019-01-02 22:34:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:00.453 UTC,,,82,,5c2d3ab1.52,371,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1272) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:00.453 UTC,,,82,,5c2d3ab1.52,372,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:00.453 UTC,"postgres","postgres",1276,"[local]",5c2d3c92.4fc,3,"idle",2019-01-02 22:34:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:00.465 UTC,,,82,,5c2d3ab1.52,373,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:00.857 UTC,,,1281,,5c2d3c94.501,1,,2019-01-02 22:35:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:00.906 UTC,,,1281,,5c2d3c94.501,2,,2019-01-02 22:35:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:00.912 UTC,,,1281,,5c2d3c94.501,3,,2019-01-02 22:35:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:01.033 UTC,,,1281,,5c2d3c94.501,4,,2019-01-02 22:35:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:01.053 UTC,,,82,,5c2d3ab1.52,374,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:01.054 UTC,,,1281,,5c2d3c94.501,5,,2019-01-02 22:35:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14015EC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:01.073 UTC,,,1286,,5c2d3c95.506,1,,2019-01-02 22:35:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:01.089 UTC,,,1289,,5c2d3c95.509,1,,2019-01-02 22:35:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:05.504 UTC,,,82,,5c2d3ab1.52,375,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1285) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:05.504 UTC,,,82,,5c2d3ab1.52,376,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:05.512 UTC,,,82,,5c2d3ab1.52,377,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:06.059 UTC,,,1290,,5c2d3c9a.50a,1,,2019-01-02 22:35:06 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:06.173 UTC,,,1290,,5c2d3c9a.50a,2,,2019-01-02 22:35:06 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:06.186 UTC,,,1290,,5c2d3c9a.50a,3,,2019-01-02 22:35:06 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:06.276 UTC,,,1290,,5c2d3c9a.50a,4,,2019-01-02 22:35:06 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:06.276 UTC,,,82,,5c2d3ab1.52,378,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:06.277 UTC,,,1290,,5c2d3c9a.50a,5,,2019-01-02 22:35:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14015EC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:06.305 UTC,,,1295,,5c2d3c9a.50f,1,,2019-01-02 22:35:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:09.053 UTC,,,1298,"[local]",5c2d3c9d.512,1,"",2019-01-02 22:35:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:09.054 UTC,"postgres","postgres",1298,"[local]",5c2d3c9d.512,2,"authentication",2019-01-02 22:35:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:10.615 UTC,,,82,,5c2d3ab1.52,379,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1294) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:10.615 UTC,,,82,,5c2d3ab1.52,380,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:10.615 UTC,"postgres","postgres",1298,"[local]",5c2d3c9d.512,3,"idle",2019-01-02 22:35:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:10.625 UTC,,,82,,5c2d3ab1.52,381,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:11.158 UTC,,,1303,,5c2d3c9f.517,1,,2019-01-02 22:35:11 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:11.265 UTC,,,1303,,5c2d3c9f.517,2,,2019-01-02 22:35:11 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:11.272 UTC,,,1303,,5c2d3c9f.517,3,,2019-01-02 22:35:11 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:11.506 UTC,,,1303,,5c2d3c9f.517,4,,2019-01-02 22:35:11 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:11.507 UTC,,,82,,5c2d3ab1.52,382,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:11.507 UTC,,,1303,,5c2d3c9f.517,5,,2019-01-02 22:35:11 UTC,1/0,0,LOG,00000,"invalid record length at 0/14015FA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:11.539 UTC,,,1308,,5c2d3c9f.51c,1,,2019-01-02 22:35:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:15.855 UTC,,,82,,5c2d3ab1.52,383,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1307) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:15.855 UTC,,,82,,5c2d3ab1.52,384,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:15.863 UTC,,,82,,5c2d3ab1.52,385,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:16.354 UTC,,,1311,,5c2d3ca4.51f,1,,2019-01-02 22:35:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:16.473 UTC,,,1311,,5c2d3ca4.51f,2,,2019-01-02 22:35:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:16.478 UTC,,,1311,,5c2d3ca4.51f,3,,2019-01-02 22:35:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:16.566 UTC,,,1311,,5c2d3ca4.51f,4,,2019-01-02 22:35:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:16.567 UTC,,,82,,5c2d3ab1.52,386,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:16.567 UTC,,,1311,,5c2d3ca4.51f,5,,2019-01-02 22:35:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016030: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:16.609 UTC,,,1316,,5c2d3ca4.524,1,,2019-01-02 22:35:16 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: no pg_hba.conf entry for replication connection from host ""10.244.35.0"", user ""standby"", SSL off",,,,,,,,,""
2019-01-02 22:35:16.694 UTC,,,1319,,5c2d3ca4.527,1,,2019-01-02 22:35:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:18.553 UTC,,,1320,"[local]",5c2d3ca6.528,1,"",2019-01-02 22:35:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:18.554 UTC,"postgres","postgres",1320,"[local]",5c2d3ca6.528,2,"authentication",2019-01-02 22:35:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:20.924 UTC,,,82,,5c2d3ab1.52,387,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1315) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:20.924 UTC,,,82,,5c2d3ab1.52,388,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:20.924 UTC,"postgres","postgres",1320,"[local]",5c2d3ca6.528,3,"idle",2019-01-02 22:35:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:20.962 UTC,,,82,,5c2d3ab1.52,389,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:21.220 UTC,,,1329,,5c2d3ca9.531,1,,2019-01-02 22:35:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:21.277 UTC,,,1329,,5c2d3ca9.531,2,,2019-01-02 22:35:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:21.287 UTC,,,1329,,5c2d3ca9.531,3,,2019-01-02 22:35:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:21.436 UTC,,,1329,,5c2d3ca9.531,4,,2019-01-02 22:35:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:21.437 UTC,,,82,,5c2d3ab1.52,390,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:21.437 UTC,,,1329,,5c2d3ca9.531,5,,2019-01-02 22:35:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/140160A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:21.690 UTC,,,1334,,5c2d3ca9.536,1,,2019-01-02 22:35:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:21.795 UTC,,,1337,,5c2d3ca9.539,1,,2019-01-02 22:35:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:25.903 UTC,,,82,,5c2d3ab1.52,391,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1333) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:25.903 UTC,,,82,,5c2d3ab1.52,392,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:25.911 UTC,,,82,,5c2d3ab1.52,393,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:26.262 UTC,,,1338,,5c2d3cae.53a,1,,2019-01-02 22:35:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:26.367 UTC,,,1338,,5c2d3cae.53a,2,,2019-01-02 22:35:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:26.380 UTC,,,1338,,5c2d3cae.53a,3,,2019-01-02 22:35:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:26.698 UTC,,,1338,,5c2d3cae.53a,4,,2019-01-02 22:35:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:26.699 UTC,,,82,,5c2d3ab1.52,394,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:26.699 UTC,,,1338,,5c2d3cae.53a,5,,2019-01-02 22:35:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/140160A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:27.077 UTC,,,1343,,5c2d3cae.53f,1,,2019-01-02 22:35:26 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:27.093 UTC,,,1346,,5c2d3caf.542,1,,2019-01-02 22:35:27 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:29.053 UTC,,,1347,"[local]",5c2d3cb1.543,1,"",2019-01-02 22:35:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:29.054 UTC,"postgres","postgres",1347,"[local]",5c2d3cb1.543,2,"authentication",2019-01-02 22:35:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:31.156 UTC,,,82,,5c2d3ab1.52,395,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1342) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:31.156 UTC,,,82,,5c2d3ab1.52,396,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:31.156 UTC,"postgres","postgres",1347,"[local]",5c2d3cb1.543,3,"idle",2019-01-02 22:35:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:31.165 UTC,,,82,,5c2d3ab1.52,397,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:31.555 UTC,,,1352,,5c2d3cb3.548,1,,2019-01-02 22:35:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:31.614 UTC,,,1352,,5c2d3cb3.548,2,,2019-01-02 22:35:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:31.620 UTC,,,1352,,5c2d3cb3.548,3,,2019-01-02 22:35:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:31.724 UTC,,,1352,,5c2d3cb3.548,4,,2019-01-02 22:35:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:31.724 UTC,,,82,,5c2d3ab1.52,398,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:31.725 UTC,,,1352,,5c2d3cb3.548,5,,2019-01-02 22:35:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/140160A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:31.817 UTC,,,1357,,5c2d3cb3.54d,1,,2019-01-02 22:35:31 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:31.865 UTC,,,1357,,5c2d3cb3.54d,2,,2019-01-02 22:35:31 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:35:31.865 UTC,,,1352,,5c2d3cb3.548,6,,2019-01-02 22:35:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016180: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:32.055 UTC,,,1360,,5c2d3cb3.550,1,,2019-01-02 22:35:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:36.173 UTC,,,82,,5c2d3ab1.52,399,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1356) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:36.173 UTC,,,82,,5c2d3ab1.52,400,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:36.182 UTC,,,82,,5c2d3ab1.52,401,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:36.655 UTC,,,1361,,5c2d3cb8.551,1,,2019-01-02 22:35:36 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:36.718 UTC,,,1361,,5c2d3cb8.551,2,,2019-01-02 22:35:36 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:36.724 UTC,,,1361,,5c2d3cb8.551,3,,2019-01-02 22:35:36 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:36.808 UTC,,,1361,,5c2d3cb8.551,4,,2019-01-02 22:35:36 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:36.809 UTC,,,82,,5c2d3ab1.52,402,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:36.810 UTC,,,1361,,5c2d3cb8.551,5,,2019-01-02 22:35:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016180: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:36.857 UTC,,,1366,,5c2d3cb8.556,1,,2019-01-02 22:35:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.",,,,,,,,,""
2019-01-02 22:35:37.153 UTC,,,1367,,5c2d3cb8.557,1,,2019-01-02 22:35:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:38.653 UTC,,,1370,"[local]",5c2d3cba.55a,1,"",2019-01-02 22:35:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:38.654 UTC,"postgres","postgres",1370,"[local]",5c2d3cba.55a,2,"authentication",2019-01-02 22:35:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:41.354 UTC,,,82,,5c2d3ab1.52,403,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1365) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:41.354 UTC,,,82,,5c2d3ab1.52,404,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:41.354 UTC,"postgres","postgres",1370,"[local]",5c2d3cba.55a,3,"idle",2019-01-02 22:35:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:41.364 UTC,,,82,,5c2d3ab1.52,405,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:41.611 UTC,,,1375,,5c2d3cbd.55f,1,,2019-01-02 22:35:41 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:41.690 UTC,,,1375,,5c2d3cbd.55f,2,,2019-01-02 22:35:41 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:41.697 UTC,,,1375,,5c2d3cbd.55f,3,,2019-01-02 22:35:41 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:41.766 UTC,,,1375,,5c2d3cbd.55f,4,,2019-01-02 22:35:41 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:41.767 UTC,,,82,,5c2d3ab1.52,406,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:41.767 UTC,,,1375,,5c2d3cbd.55f,5,,2019-01-02 22:35:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016180: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:41.794 UTC,,,1380,,5c2d3cbd.564,1,,2019-01-02 22:35:41 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:42.004 UTC,,,1380,,5c2d3cbd.564,2,,2019-01-02 22:35:41 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:35:42.053 UTC,,,1375,,5c2d3cbd.55f,6,,2019-01-02 22:35:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016260: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:42.237 UTC,,,1383,,5c2d3cbe.567,1,,2019-01-02 22:35:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:46.344 UTC,,,82,,5c2d3ab1.52,407,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1379) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:46.344 UTC,,,82,,5c2d3ab1.52,408,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:46.351 UTC,,,82,,5c2d3ab1.52,409,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:46.854 UTC,,,1384,,5c2d3cc2.568,1,,2019-01-02 22:35:46 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:46.913 UTC,,,1384,,5c2d3cc2.568,2,,2019-01-02 22:35:46 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:46.924 UTC,,,1384,,5c2d3cc2.568,3,,2019-01-02 22:35:46 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:47.013 UTC,,,1384,,5c2d3cc2.568,4,,2019-01-02 22:35:46 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:47.014 UTC,,,82,,5c2d3ab1.52,410,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:47.015 UTC,,,1384,,5c2d3cc2.568,5,,2019-01-02 22:35:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016260: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:47.103 UTC,,,1389,,5c2d3cc3.56d,1,,2019-01-02 22:35:47 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:47.393 UTC,,,1389,,5c2d3cc3.56d,2,,2019-01-02 22:35:47 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:35:47.393 UTC,,,1384,,5c2d3cc2.568,6,,2019-01-02 22:35:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/140162D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:47.827 UTC,,,1392,,5c2d3cc3.570,1,,2019-01-02 22:35:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:48.554 UTC,,,1393,"[local]",5c2d3cc4.571,1,"",2019-01-02 22:35:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:48.555 UTC,"postgres","postgres",1393,"[local]",5c2d3cc4.571,2,"authentication",2019-01-02 22:35:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:48.702 UTC,,,1398,"127.0.0.1:48750",5c2d3cc4.576,1,"",2019-01-02 22:35:48 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48750",,,,,,,,,""
2019-01-02 22:35:48.707 UTC,"standby","",1398,"127.0.0.1:48750",5c2d3cc4.576,2,"authentication",2019-01-02 22:35:48 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:35:48.708 UTC,"standby","",1398,"127.0.0.1:48750",5c2d3cc4.576,3,"idle",2019-01-02 22:35:48 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=standby database= host=127.0.0.1 port=48750",,,,,,,,,""
2019-01-02 22:35:51.484 UTC,,,82,,5c2d3ab1.52,411,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1388) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:51.484 UTC,,,82,,5c2d3ab1.52,412,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:51.484 UTC,"postgres","postgres",1393,"[local]",5c2d3cc4.571,3,"idle",2019-01-02 22:35:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:35:51.494 UTC,,,82,,5c2d3ab1.52,413,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:51.744 UTC,,,1403,,5c2d3cc7.57b,1,,2019-01-02 22:35:51 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:51.802 UTC,,,1403,,5c2d3cc7.57b,2,,2019-01-02 22:35:51 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:51.807 UTC,,,1403,,5c2d3cc7.57b,3,,2019-01-02 22:35:51 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:51.944 UTC,,,1403,,5c2d3cc7.57b,4,,2019-01-02 22:35:51 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:51.945 UTC,,,82,,5c2d3ab1.52,414,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:51.946 UTC,,,1403,,5c2d3cc7.57b,5,,2019-01-02 22:35:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/140162D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:51.997 UTC,,,1408,,5c2d3cc7.580,1,,2019-01-02 22:35:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:53.018 UTC,,,1408,,5c2d3cc7.580,2,,2019-01-02 22:35:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:35:53.018 UTC,,,1403,,5c2d3cc7.57b,6,,2019-01-02 22:35:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016340: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:53.479 UTC,,,1411,,5c2d3cc9.583,1,,2019-01-02 22:35:53 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:35:56.344 UTC,,,82,,5c2d3ab1.52,415,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1407) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:35:56.344 UTC,,,82,,5c2d3ab1.52,416,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:35:56.353 UTC,,,82,,5c2d3ab1.52,417,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:35:56.655 UTC,,,1416,,5c2d3ccc.588,1,,2019-01-02 22:35:56 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:35:56.714 UTC,,,1416,,5c2d3ccc.588,2,,2019-01-02 22:35:56 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:35:56.720 UTC,,,1416,,5c2d3ccc.588,3,,2019-01-02 22:35:56 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:35:56.809 UTC,,,1416,,5c2d3ccc.588,4,,2019-01-02 22:35:56 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:35:56.810 UTC,,,82,,5c2d3ab1.52,418,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:35:56.810 UTC,,,1416,,5c2d3ccc.588,5,,2019-01-02 22:35:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016340: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:56.895 UTC,,,1421,,5c2d3ccc.58d,1,,2019-01-02 22:35:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:35:58.103 UTC,,,1424,"[local]",5c2d3cce.590,1,"",2019-01-02 22:35:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:35:58.104 UTC,"postgres","postgres",1424,"[local]",5c2d3cce.590,2,"authentication",2019-01-02 22:35:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:35:58.107 UTC,,,1425,"127.0.0.1:48764",5c2d3cce.591,1,"",2019-01-02 22:35:58 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48764",,,,,,,,,""
2019-01-02 22:35:58.111 UTC,"standby","",1425,"127.0.0.1:48764",5c2d3cce.591,2,"authentication",2019-01-02 22:35:58 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:35:58.112 UTC,"standby","",1425,"127.0.0.1:48764",5c2d3cce.591,3,"idle",2019-01-02 22:35:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.005 user=standby database= host=127.0.0.1 port=48764",,,,,,,,,""
2019-01-02 22:35:58.443 UTC,,,1421,,5c2d3ccc.58d,2,,2019-01-02 22:35:56 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:35:58.445 UTC,,,1416,,5c2d3ccc.588,6,,2019-01-02 22:35:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/140163B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:35:58.984 UTC,,,1430,,5c2d3cce.596,1,,2019-01-02 22:35:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:01.347 UTC,,,82,,5c2d3ab1.52,419,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1420) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:01.347 UTC,,,82,,5c2d3ab1.52,420,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:01.347 UTC,"postgres","postgres",1424,"[local]",5c2d3cce.590,3,"idle",2019-01-02 22:35:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:01.358 UTC,,,82,,5c2d3ab1.52,421,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:01.757 UTC,,,1431,,5c2d3cd1.597,1,,2019-01-02 22:36:01 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:01.817 UTC,,,1431,,5c2d3cd1.597,2,,2019-01-02 22:36:01 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:01.854 UTC,,,1431,,5c2d3cd1.597,3,,2019-01-02 22:36:01 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:01.918 UTC,,,1431,,5c2d3cd1.597,4,,2019-01-02 22:36:01 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:01.918 UTC,,,82,,5c2d3ab1.52,422,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:01.919 UTC,,,1431,,5c2d3cd1.597,5,,2019-01-02 22:36:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/140163B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:01.988 UTC,,,1436,,5c2d3cd1.59c,1,,2019-01-02 22:36:01 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:03.608 UTC,,,1436,,5c2d3cd1.59c,2,,2019-01-02 22:36:01 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:03.653 UTC,,,1431,,5c2d3cd1.597,6,,2019-01-02 22:36:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016420: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:04.102 UTC,,,1439,,5c2d3cd3.59f,1,,2019-01-02 22:36:03 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:06.542 UTC,,,82,,5c2d3ab1.52,423,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1435) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:06.542 UTC,,,82,,5c2d3ab1.52,424,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:06.549 UTC,,,82,,5c2d3ab1.52,425,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:07.058 UTC,,,1440,,5c2d3cd7.5a0,1,,2019-01-02 22:36:07 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:07.229 UTC,,,1440,,5c2d3cd7.5a0,2,,2019-01-02 22:36:07 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:07.235 UTC,,,1440,,5c2d3cd7.5a0,3,,2019-01-02 22:36:07 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:07.362 UTC,,,1440,,5c2d3cd7.5a0,4,,2019-01-02 22:36:07 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:07.363 UTC,,,82,,5c2d3ab1.52,426,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:07.363 UTC,,,1440,,5c2d3cd7.5a0,5,,2019-01-02 22:36:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016420: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:07.490 UTC,,,1445,,5c2d3cd7.5a5,1,,2019-01-02 22:36:07 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:08.436 UTC,,,1448,"[local]",5c2d3cd8.5a8,1,"",2019-01-02 22:36:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:08.437 UTC,"postgres","postgres",1448,"[local]",5c2d3cd8.5a8,2,"authentication",2019-01-02 22:36:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:36:09.065 UTC,,,1445,,5c2d3cd7.5a5,2,,2019-01-02 22:36:07 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:09.153 UTC,,,1440,,5c2d3cd7.5a0,6,,2019-01-02 22:36:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016490: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:09.279 UTC,,,1457,,5c2d3cd9.5b1,1,,2019-01-02 22:36:09 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:11.891 UTC,,,82,,5c2d3ab1.52,427,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1444) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:11.891 UTC,,,82,,5c2d3ab1.52,428,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:11.891 UTC,"postgres","postgres",1448,"[local]",5c2d3cd8.5a8,3,"idle",2019-01-02 22:36:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:11.899 UTC,,,82,,5c2d3ab1.52,429,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:12.255 UTC,,,1458,,5c2d3cdc.5b2,1,,2019-01-02 22:36:12 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:12.317 UTC,,,1458,,5c2d3cdc.5b2,2,,2019-01-02 22:36:12 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:12.324 UTC,,,1458,,5c2d3cdc.5b2,3,,2019-01-02 22:36:12 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:12.405 UTC,,,1458,,5c2d3cdc.5b2,4,,2019-01-02 22:36:12 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:12.406 UTC,,,82,,5c2d3ab1.52,430,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:12.406 UTC,,,1458,,5c2d3cdc.5b2,5,,2019-01-02 22:36:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016490: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:12.498 UTC,,,1463,,5c2d3cdc.5b7,1,,2019-01-02 22:36:12 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:14.071 UTC,,,1463,,5c2d3cdc.5b7,2,,2019-01-02 22:36:12 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:14.071 UTC,,,1458,,5c2d3cdc.5b2,6,,2019-01-02 22:36:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016500: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:14.287 UTC,,,1466,,5c2d3cde.5ba,1,,2019-01-02 22:36:14 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:16.987 UTC,,,82,,5c2d3ab1.52,431,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1462) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:16.987 UTC,,,82,,5c2d3ab1.52,432,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:16.996 UTC,,,82,,5c2d3ab1.52,433,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:17.253 UTC,,,1467,,5c2d3ce1.5bb,1,,2019-01-02 22:36:17 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:17.308 UTC,,,1467,,5c2d3ce1.5bb,2,,2019-01-02 22:36:17 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:17.324 UTC,,,1467,,5c2d3ce1.5bb,3,,2019-01-02 22:36:17 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:17.418 UTC,,,1467,,5c2d3ce1.5bb,4,,2019-01-02 22:36:17 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:17.419 UTC,,,82,,5c2d3ab1.52,434,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:17.419 UTC,,,1467,,5c2d3ce1.5bb,5,,2019-01-02 22:36:17 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016500: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:17.492 UTC,,,1472,,5c2d3ce1.5c0,1,,2019-01-02 22:36:17 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:18.871 UTC,,,1475,"[local]",5c2d3ce2.5c3,1,"",2019-01-02 22:36:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:18.872 UTC,"postgres","postgres",1475,"[local]",5c2d3ce2.5c3,2,"authentication",2019-01-02 22:36:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:36:19.100 UTC,,,1472,,5c2d3ce1.5c0,2,,2019-01-02 22:36:17 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:19.153 UTC,,,1467,,5c2d3ce1.5bb,6,,2019-01-02 22:36:17 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016570: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:19.604 UTC,,,1480,,5c2d3ce3.5c8,1,,2019-01-02 22:36:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:21.987 UTC,,,82,,5c2d3ab1.52,435,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1471) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:21.987 UTC,,,82,,5c2d3ab1.52,436,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:21.987 UTC,"postgres","postgres",1475,"[local]",5c2d3ce2.5c3,3,"idle",2019-01-02 22:36:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:21.994 UTC,,,82,,5c2d3ab1.52,437,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:22.561 UTC,,,1481,,5c2d3ce6.5c9,1,,2019-01-02 22:36:22 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:22.659 UTC,,,1481,,5c2d3ce6.5c9,2,,2019-01-02 22:36:22 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:22.672 UTC,,,1481,,5c2d3ce6.5c9,3,,2019-01-02 22:36:22 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:22.792 UTC,,,1481,,5c2d3ce6.5c9,4,,2019-01-02 22:36:22 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:22.792 UTC,,,82,,5c2d3ab1.52,438,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:22.793 UTC,,,1481,,5c2d3ce6.5c9,5,,2019-01-02 22:36:22 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016570: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:22.896 UTC,,,1486,,5c2d3ce6.5ce,1,,2019-01-02 22:36:22 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:24.504 UTC,,,1486,,5c2d3ce6.5ce,2,,2019-01-02 22:36:22 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:24.504 UTC,,,1481,,5c2d3ce6.5c9,6,,2019-01-02 22:36:22 UTC,1/0,0,LOG,00000,"invalid record length at 0/140165E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:25.077 UTC,,,1489,,5c2d3ce8.5d1,1,,2019-01-02 22:36:24 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:27.234 UTC,,,82,,5c2d3ab1.52,439,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1485) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:27.234 UTC,,,82,,5c2d3ab1.52,440,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:27.242 UTC,,,82,,5c2d3ab1.52,441,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:27.764 UTC,,,1490,,5c2d3ceb.5d2,1,,2019-01-02 22:36:27 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:27.878 UTC,,,1490,,5c2d3ceb.5d2,2,,2019-01-02 22:36:27 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:27.952 UTC,,,1490,,5c2d3ceb.5d2,3,,2019-01-02 22:36:27 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:28.131 UTC,,,1490,,5c2d3ceb.5d2,4,,2019-01-02 22:36:27 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:28.132 UTC,,,82,,5c2d3ab1.52,442,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:28.132 UTC,,,1490,,5c2d3ceb.5d2,5,,2019-01-02 22:36:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/140165E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:28.187 UTC,,,1495,,5c2d3cec.5d7,1,,2019-01-02 22:36:28 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:28.476 UTC,,,1498,"[local]",5c2d3cec.5da,1,"",2019-01-02 22:36:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:28.477 UTC,"postgres","postgres",1498,"[local]",5c2d3cec.5da,2,"authentication",2019-01-02 22:36:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:36:29.854 UTC,,,1495,,5c2d3cec.5d7,2,,2019-01-02 22:36:28 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:29.855 UTC,,,1490,,5c2d3ceb.5d2,6,,2019-01-02 22:36:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016650: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:30.085 UTC,,,1507,,5c2d3ced.5e3,1,,2019-01-02 22:36:29 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:32.561 UTC,,,82,,5c2d3ab1.52,443,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1494) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:32.561 UTC,,,82,,5c2d3ab1.52,444,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:32.561 UTC,"postgres","postgres",1498,"[local]",5c2d3cec.5da,3,"idle",2019-01-02 22:36:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:32.569 UTC,,,82,,5c2d3ab1.52,445,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:32.954 UTC,,,1508,,5c2d3cf0.5e4,1,,2019-01-02 22:36:32 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:33.014 UTC,,,1508,,5c2d3cf0.5e4,2,,2019-01-02 22:36:32 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:33.024 UTC,,,1508,,5c2d3cf0.5e4,3,,2019-01-02 22:36:32 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:33.116 UTC,,,1508,,5c2d3cf0.5e4,4,,2019-01-02 22:36:32 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:33.117 UTC,,,82,,5c2d3ab1.52,446,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:33.117 UTC,,,1508,,5c2d3cf0.5e4,5,,2019-01-02 22:36:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016650: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:33.185 UTC,,,1513,,5c2d3cf1.5e9,1,,2019-01-02 22:36:33 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:34.618 UTC,,,1513,,5c2d3cf1.5e9,2,,2019-01-02 22:36:33 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:34.618 UTC,,,1508,,5c2d3cf0.5e4,6,,2019-01-02 22:36:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/140166C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:34.880 UTC,,,1516,,5c2d3cf2.5ec,1,,2019-01-02 22:36:34 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:37.738 UTC,,,82,,5c2d3ab1.52,447,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1512) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:37.738 UTC,,,82,,5c2d3ab1.52,448,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:37.743 UTC,,,82,,5c2d3ab1.52,449,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:38.154 UTC,,,1517,,5c2d3cf6.5ed,1,,2019-01-02 22:36:38 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:38.208 UTC,,,1517,,5c2d3cf6.5ed,2,,2019-01-02 22:36:38 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:38.219 UTC,,,1517,,5c2d3cf6.5ed,3,,2019-01-02 22:36:38 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:38.571 UTC,,,1517,,5c2d3cf6.5ed,4,,2019-01-02 22:36:38 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:38.571 UTC,,,82,,5c2d3ab1.52,450,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:38.572 UTC,,,1517,,5c2d3cf6.5ed,5,,2019-01-02 22:36:38 UTC,1/0,0,LOG,00000,"invalid record length at 0/140166C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:38.679 UTC,,,1522,,5c2d3cf6.5f2,1,,2019-01-02 22:36:38 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:39.353 UTC,,,1525,"[local]",5c2d3cf7.5f5,1,"",2019-01-02 22:36:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:39.354 UTC,"postgres","postgres",1525,"[local]",5c2d3cf7.5f5,2,"authentication",2019-01-02 22:36:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:36:39.612 UTC,,,1522,,5c2d3cf6.5f2,2,,2019-01-02 22:36:38 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:39.655 UTC,,,1517,,5c2d3cf6.5ed,6,,2019-01-02 22:36:38 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016730: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:40.191 UTC,,,1530,,5c2d3cf7.5fa,1,,2019-01-02 22:36:39 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:42.999 UTC,,,82,,5c2d3ab1.52,451,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1521) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:42.999 UTC,,,82,,5c2d3ab1.52,452,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:42.999 UTC,"postgres","postgres",1525,"[local]",5c2d3cf7.5f5,3,"idle",2019-01-02 22:36:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:43.006 UTC,,,82,,5c2d3ab1.52,453,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:43.216 UTC,,,1531,,5c2d3cfb.5fb,1,,2019-01-02 22:36:43 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:43.282 UTC,,,1531,,5c2d3cfb.5fb,2,,2019-01-02 22:36:43 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:43.291 UTC,,,1531,,5c2d3cfb.5fb,3,,2019-01-02 22:36:43 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:43.441 UTC,,,1531,,5c2d3cfb.5fb,4,,2019-01-02 22:36:43 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:43.442 UTC,,,82,,5c2d3ab1.52,454,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:43.442 UTC,,,1531,,5c2d3cfb.5fb,5,,2019-01-02 22:36:43 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016730: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:43.497 UTC,,,1536,,5c2d3cfb.600,1,,2019-01-02 22:36:43 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:45.043 UTC,,,1536,,5c2d3cfb.600,2,,2019-01-02 22:36:43 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:45.043 UTC,,,1531,,5c2d3cfb.5fb,6,,2019-01-02 22:36:43 UTC,1/0,0,LOG,00000,"invalid record length at 0/140167A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:45.427 UTC,,,1539,,5c2d3cfd.603,1,,2019-01-02 22:36:45 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:47.843 UTC,,,82,,5c2d3ab1.52,455,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1535) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:47.843 UTC,,,82,,5c2d3ab1.52,456,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:47.850 UTC,,,82,,5c2d3ab1.52,457,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:48.154 UTC,,,1540,,5c2d3d00.604,1,,2019-01-02 22:36:48 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:48.263 UTC,,,1540,,5c2d3d00.604,2,,2019-01-02 22:36:48 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:48.271 UTC,,,1540,,5c2d3d00.604,3,,2019-01-02 22:36:48 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:48.384 UTC,,,1540,,5c2d3d00.604,4,,2019-01-02 22:36:48 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:48.384 UTC,,,82,,5c2d3ab1.52,458,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:48.385 UTC,,,1540,,5c2d3d00.604,5,,2019-01-02 22:36:48 UTC,1/0,0,LOG,00000,"invalid record length at 0/140167A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:48.486 UTC,,,1545,,5c2d3d00.609,1,,2019-01-02 22:36:48 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:49.054 UTC,,,1548,"[local]",5c2d3d01.60c,1,"",2019-01-02 22:36:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:49.055 UTC,"postgres","postgres",1548,"[local]",5c2d3d01.60c,2,"authentication",2019-01-02 22:36:49 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:36:50.228 UTC,,,1545,,5c2d3d00.609,2,,2019-01-02 22:36:48 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:50.228 UTC,,,1540,,5c2d3d00.604,6,,2019-01-02 22:36:48 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016810: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:50.459 UTC,,,1553,,5c2d3d02.611,1,,2019-01-02 22:36:50 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:52.822 UTC,,,82,,5c2d3ab1.52,459,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1544) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:52.822 UTC,,,82,,5c2d3ab1.52,460,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:52.822 UTC,"postgres","postgres",1548,"[local]",5c2d3d01.60c,3,"idle",2019-01-02 22:36:49 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:36:52.830 UTC,,,82,,5c2d3ab1.52,461,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:53.261 UTC,,,1555,,5c2d3d05.613,1,,2019-01-02 22:36:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:53.384 UTC,,,1555,,5c2d3d05.613,2,,2019-01-02 22:36:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:53.390 UTC,,,1555,,5c2d3d05.613,3,,2019-01-02 22:36:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:53.500 UTC,,,1555,,5c2d3d05.613,4,,2019-01-02 22:36:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:53.501 UTC,,,82,,5c2d3ab1.52,462,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:53.501 UTC,,,1555,,5c2d3d05.613,5,,2019-01-02 22:36:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016810: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:53.605 UTC,,,1563,,5c2d3d05.61b,1,,2019-01-02 22:36:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:55.091 UTC,,,1563,,5c2d3d05.61b,2,,2019-01-02 22:36:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:36:55.091 UTC,,,1555,,5c2d3d05.613,6,,2019-01-02 22:36:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016880: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:55.607 UTC,,,1566,,5c2d3d07.61e,1,,2019-01-02 22:36:55 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:58.000 UTC,,,82,,5c2d3ab1.52,463,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1562) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:36:58.000 UTC,,,82,,5c2d3ab1.52,464,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:36:58.009 UTC,,,82,,5c2d3ab1.52,465,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:36:58.272 UTC,,,1567,,5c2d3d0a.61f,1,,2019-01-02 22:36:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:36:58.272 UTC,,,1568,"[local]",5c2d3d0a.620,1,"",2019-01-02 22:36:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:58.272 UTC,"postgres","postgres",1568,"[local]",5c2d3d0a.620,2,"",2019-01-02 22:36:58 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:36:58.384 UTC,,,1567,,5c2d3d0a.61f,2,,2019-01-02 22:36:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:36:58.389 UTC,,,1567,,5c2d3d0a.61f,3,,2019-01-02 22:36:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:36:58.490 UTC,,,1567,,5c2d3d0a.61f,4,,2019-01-02 22:36:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:36:58.491 UTC,,,82,,5c2d3ab1.52,466,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:36:58.491 UTC,,,1567,,5c2d3d0a.61f,5,,2019-01-02 22:36:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016880: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:36:58.586 UTC,,,1573,,5c2d3d0a.625,1,,2019-01-02 22:36:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:36:59.175 UTC,,,1576,"[local]",5c2d3d0b.628,1,"",2019-01-02 22:36:59 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:36:59.175 UTC,"postgres","postgres",1576,"[local]",5c2d3d0b.628,2,"authentication",2019-01-02 22:36:59 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:00.572 UTC,,,1573,,5c2d3d0a.625,2,,2019-01-02 22:36:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:00.572 UTC,,,1567,,5c2d3d0a.61f,6,,2019-01-02 22:36:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/140168F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:00.694 UTC,,,1581,,5c2d3d0c.62d,1,,2019-01-02 22:37:00 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:02.964 UTC,,,82,,5c2d3ab1.52,467,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1572) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:02.964 UTC,,,82,,5c2d3ab1.52,468,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:02.964 UTC,"postgres","postgres",1576,"[local]",5c2d3d0b.628,3,"idle",2019-01-02 22:36:59 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:02.977 UTC,,,82,,5c2d3ab1.52,469,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:03.454 UTC,,,1582,,5c2d3d0f.62e,1,,2019-01-02 22:37:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:03.514 UTC,,,1582,,5c2d3d0f.62e,2,,2019-01-02 22:37:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:03.553 UTC,,,1582,,5c2d3d0f.62e,3,,2019-01-02 22:37:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:03.613 UTC,,,1582,,5c2d3d0f.62e,4,,2019-01-02 22:37:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:03.614 UTC,,,82,,5c2d3ab1.52,470,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:03.653 UTC,,,1582,,5c2d3d0f.62e,5,,2019-01-02 22:37:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/140168F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:03.669 UTC,,,1587,,5c2d3d0f.633,1,,2019-01-02 22:37:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:05.531 UTC,,,1587,,5c2d3d0f.633,2,,2019-01-02 22:37:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:05.531 UTC,,,1582,,5c2d3d0f.62e,6,,2019-01-02 22:37:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016960: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:05.779 UTC,,,1590,,5c2d3d11.636,1,,2019-01-02 22:37:05 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:08.188 UTC,,,82,,5c2d3ab1.52,471,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1586) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:08.188 UTC,,,82,,5c2d3ab1.52,472,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:08.196 UTC,,,82,,5c2d3ab1.52,473,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:08.656 UTC,,,1591,,5c2d3d14.637,1,,2019-01-02 22:37:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:08.712 UTC,,,1591,,5c2d3d14.637,2,,2019-01-02 22:37:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:08.718 UTC,,,1591,,5c2d3d14.637,3,,2019-01-02 22:37:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:08.835 UTC,,,1591,,5c2d3d14.637,4,,2019-01-02 22:37:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:08.835 UTC,,,82,,5c2d3ab1.52,474,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:08.836 UTC,,,1591,,5c2d3d14.637,5,,2019-01-02 22:37:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016960: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:08.886 UTC,,,1596,,5c2d3d14.63c,1,,2019-01-02 22:37:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:09.154 UTC,,,1599,"[local]",5c2d3d15.63f,1,"",2019-01-02 22:37:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:09.155 UTC,"postgres","postgres",1599,"[local]",5c2d3d15.63f,2,"authentication",2019-01-02 22:37:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:10.402 UTC,,,1596,,5c2d3d14.63c,2,,2019-01-02 22:37:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:10.402 UTC,,,1591,,5c2d3d14.637,6,,2019-01-02 22:37:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/140169D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:10.755 UTC,,,1608,,5c2d3d16.648,1,,2019-01-02 22:37:10 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:13.285 UTC,,,82,,5c2d3ab1.52,475,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1595) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:13.285 UTC,,,82,,5c2d3ab1.52,476,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:13.285 UTC,"postgres","postgres",1599,"[local]",5c2d3d15.63f,3,"idle",2019-01-02 22:37:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:13.293 UTC,,,82,,5c2d3ab1.52,477,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:13.754 UTC,,,1609,,5c2d3d19.649,1,,2019-01-02 22:37:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:13.813 UTC,,,1609,,5c2d3d19.649,2,,2019-01-02 22:37:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:13.853 UTC,,,1609,,5c2d3d19.649,3,,2019-01-02 22:37:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:14.052 UTC,,,1609,,5c2d3d19.649,4,,2019-01-02 22:37:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:14.053 UTC,,,82,,5c2d3ab1.52,478,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:14.053 UTC,,,1609,,5c2d3d19.649,5,,2019-01-02 22:37:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/140169D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:14.090 UTC,,,1614,,5c2d3d1a.64e,1,,2019-01-02 22:37:14 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:15.583 UTC,,,1614,,5c2d3d1a.64e,2,,2019-01-02 22:37:14 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:15.583 UTC,,,1609,,5c2d3d19.649,6,,2019-01-02 22:37:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016A40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:15.954 UTC,,,1617,,5c2d3d1b.651,1,,2019-01-02 22:37:15 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:18.543 UTC,,,82,,5c2d3ab1.52,479,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1613) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:18.543 UTC,,,82,,5c2d3ab1.52,480,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:18.551 UTC,,,82,,5c2d3ab1.52,481,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:18.862 UTC,,,1618,,5c2d3d1e.652,1,,2019-01-02 22:37:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:18.961 UTC,,,1618,,5c2d3d1e.652,2,,2019-01-02 22:37:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:18.965 UTC,,,1619,"[local]",5c2d3d1e.653,1,"",2019-01-02 22:37:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:18.965 UTC,"postgres","postgres",1619,"[local]",5c2d3d1e.653,2,"",2019-01-02 22:37:18 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:18.966 UTC,,,1618,,5c2d3d1e.652,3,,2019-01-02 22:37:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:18.987 UTC,,,1623,"[local]",5c2d3d1e.657,1,"",2019-01-02 22:37:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:18.987 UTC,"postgres","postgres",1623,"[local]",5c2d3d1e.657,2,"",2019-01-02 22:37:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:37:19.164 UTC,,,1618,,5c2d3d1e.652,4,,2019-01-02 22:37:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:19.165 UTC,,,82,,5c2d3ab1.52,482,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:19.165 UTC,,,1618,,5c2d3d1e.652,5,,2019-01-02 22:37:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016A40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:19.196 UTC,,,1630,,5c2d3d1f.65e,1,,2019-01-02 22:37:19 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:20.519 UTC,,,1630,,5c2d3d1f.65e,2,,2019-01-02 22:37:19 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:20.519 UTC,,,1618,,5c2d3d1e.652,6,,2019-01-02 22:37:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016AB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:21.053 UTC,,,1633,,5c2d3d20.661,1,,2019-01-02 22:37:20 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:23.669 UTC,,,82,,5c2d3ab1.52,483,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1629) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:23.669 UTC,,,82,,5c2d3ab1.52,484,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:23.674 UTC,,,82,,5c2d3ab1.52,485,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:23.957 UTC,,,1634,,5c2d3d23.662,1,,2019-01-02 22:37:23 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:24.054 UTC,,,1634,,5c2d3d23.662,2,,2019-01-02 22:37:23 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:24.075 UTC,,,1634,,5c2d3d23.662,3,,2019-01-02 22:37:23 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:24.178 UTC,,,1634,,5c2d3d23.662,4,,2019-01-02 22:37:23 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:24.178 UTC,,,82,,5c2d3ab1.52,486,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:24.179 UTC,,,1634,,5c2d3d23.662,5,,2019-01-02 22:37:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016AB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:24.298 UTC,,,1639,,5c2d3d24.667,1,,2019-01-02 22:37:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:25.927 UTC,,,1639,,5c2d3d24.667,2,,2019-01-02 22:37:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:25.953 UTC,,,1634,,5c2d3d23.662,6,,2019-01-02 22:37:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016B20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:26.278 UTC,,,1642,,5c2d3d25.66a,1,,2019-01-02 22:37:25 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:28.369 UTC,,,1644,"[local]",5c2d3d28.66c,1,"",2019-01-02 22:37:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:28.370 UTC,"postgres","postgres",1644,"[local]",5c2d3d28.66c,2,"authentication",2019-01-02 22:37:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:28.375 UTC,"postgres","postgres",1644,"[local]",5c2d3d28.66c,3,"idle",2019-01-02 22:37:28 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:37:28.377 UTC,,,1645,"[local]",5c2d3d28.66d,1,"",2019-01-02 22:37:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:28.377 UTC,"postgres","postgres",1645,"[local]",5c2d3d28.66d,2,"authentication",2019-01-02 22:37:28 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:28.810 UTC,,,82,,5c2d3ab1.52,487,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1638) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:28.810 UTC,,,82,,5c2d3ab1.52,488,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:28.810 UTC,"postgres","postgres",1645,"[local]",5c2d3d28.66d,3,"idle",2019-01-02 22:37:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:28.820 UTC,,,82,,5c2d3ab1.52,489,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:29.155 UTC,,,1650,,5c2d3d29.672,1,,2019-01-02 22:37:29 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:29.217 UTC,,,1650,,5c2d3d29.672,2,,2019-01-02 22:37:29 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:29.254 UTC,,,1650,,5c2d3d29.672,3,,2019-01-02 22:37:29 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:29.373 UTC,,,1650,,5c2d3d29.672,4,,2019-01-02 22:37:29 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:29.374 UTC,,,82,,5c2d3ab1.52,490,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:29.374 UTC,,,1650,,5c2d3d29.672,5,,2019-01-02 22:37:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016B20: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:29.495 UTC,,,1655,,5c2d3d29.677,1,,2019-01-02 22:37:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:31.087 UTC,,,1655,,5c2d3d29.677,2,,2019-01-02 22:37:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:31.087 UTC,,,1650,,5c2d3d29.672,6,,2019-01-02 22:37:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016B90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:31.367 UTC,,,1658,,5c2d3d2b.67a,1,,2019-01-02 22:37:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:33.824 UTC,,,82,,5c2d3ab1.52,491,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1654) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:33.824 UTC,,,82,,5c2d3ab1.52,492,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:33.834 UTC,,,82,,5c2d3ab1.52,493,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:34.157 UTC,,,1659,,5c2d3d2e.67b,1,,2019-01-02 22:37:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:34.215 UTC,,,1659,,5c2d3d2e.67b,2,,2019-01-02 22:37:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:34.221 UTC,,,1659,,5c2d3d2e.67b,3,,2019-01-02 22:37:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:34.310 UTC,,,1659,,5c2d3d2e.67b,4,,2019-01-02 22:37:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:34.311 UTC,,,82,,5c2d3ab1.52,494,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:34.311 UTC,,,1659,,5c2d3d2e.67b,5,,2019-01-02 22:37:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016B90: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:34.392 UTC,,,1664,,5c2d3d2e.680,1,,2019-01-02 22:37:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:36.154 UTC,,,1664,,5c2d3d2e.680,2,,2019-01-02 22:37:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:36.154 UTC,,,1659,,5c2d3d2e.67b,6,,2019-01-02 22:37:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016C00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:36.379 UTC,,,1667,,5c2d3d30.683,1,,2019-01-02 22:37:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:38.561 UTC,,,1668,"[local]",5c2d3d32.684,1,"",2019-01-02 22:37:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:38.562 UTC,"postgres","postgres",1668,"[local]",5c2d3d32.684,2,"authentication",2019-01-02 22:37:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:38.839 UTC,,,82,,5c2d3ab1.52,495,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1663) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:38.839 UTC,,,82,,5c2d3ab1.52,496,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:38.839 UTC,"postgres","postgres",1668,"[local]",5c2d3d32.684,3,"idle",2019-01-02 22:37:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:38.848 UTC,,,82,,5c2d3ab1.52,497,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:39.160 UTC,,,1673,,5c2d3d33.689,1,,2019-01-02 22:37:39 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:39.262 UTC,,,1673,,5c2d3d33.689,2,,2019-01-02 22:37:39 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:39.269 UTC,,,1673,,5c2d3d33.689,3,,2019-01-02 22:37:39 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:39.462 UTC,,,1673,,5c2d3d33.689,4,,2019-01-02 22:37:39 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:39.462 UTC,,,82,,5c2d3ab1.52,498,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:39.463 UTC,,,1673,,5c2d3d33.689,5,,2019-01-02 22:37:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016C00: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:39.601 UTC,,,1678,,5c2d3d33.68e,1,,2019-01-02 22:37:39 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:41.363 UTC,,,1678,,5c2d3d33.68e,2,,2019-01-02 22:37:39 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:41.363 UTC,,,1673,,5c2d3d33.689,6,,2019-01-02 22:37:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016C70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:41.795 UTC,,,1681,,5c2d3d35.691,1,,2019-01-02 22:37:41 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:44.029 UTC,,,82,,5c2d3ab1.52,499,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1677) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:44.029 UTC,,,82,,5c2d3ab1.52,500,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:44.039 UTC,,,82,,5c2d3ab1.52,501,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:44.353 UTC,,,1682,,5c2d3d38.692,1,,2019-01-02 22:37:44 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:44.423 UTC,,,1682,,5c2d3d38.692,2,,2019-01-02 22:37:44 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:44.429 UTC,,,1682,,5c2d3d38.692,3,,2019-01-02 22:37:44 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:44.530 UTC,,,1682,,5c2d3d38.692,4,,2019-01-02 22:37:44 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:44.531 UTC,,,82,,5c2d3ab1.52,502,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:44.531 UTC,,,1682,,5c2d3d38.692,5,,2019-01-02 22:37:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016C70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:44.559 UTC,,,1687,,5c2d3d38.697,1,,2019-01-02 22:37:44 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:46.653 UTC,,,1687,,5c2d3d38.697,2,,2019-01-02 22:37:44 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:46.654 UTC,,,1682,,5c2d3d38.692,6,,2019-01-02 22:37:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016CE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:46.953 UTC,,,1690,,5c2d3d3a.69a,1,,2019-01-02 22:37:46 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:49.035 UTC,,,82,,5c2d3ab1.52,503,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1686) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:49.035 UTC,,,82,,5c2d3ab1.52,504,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:49.045 UTC,,,1691,"[local]",5c2d3d3d.69b,1,"",2019-01-02 22:37:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:49.046 UTC,"postgres","postgres",1691,"[local]",5c2d3d3d.69b,2,"",2019-01-02 22:37:49 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:49.050 UTC,,,82,,5c2d3ab1.52,505,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:49.461 UTC,,,1694,"[local]",5c2d3d3d.69e,1,"",2019-01-02 22:37:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:49.461 UTC,"postgres","postgres",1694,"[local]",5c2d3d3d.69e,2,"",2019-01-02 22:37:49 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:49.473 UTC,,,1693,,5c2d3d3d.69d,1,,2019-01-02 22:37:49 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:49.596 UTC,,,1693,,5c2d3d3d.69d,2,,2019-01-02 22:37:49 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:49.603 UTC,,,1693,,5c2d3d3d.69d,3,,2019-01-02 22:37:49 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:49.870 UTC,,,1693,,5c2d3d3d.69d,4,,2019-01-02 22:37:49 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:49.871 UTC,,,82,,5c2d3ab1.52,506,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:49.872 UTC,,,1693,,5c2d3d3d.69d,5,,2019-01-02 22:37:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016CE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:49.989 UTC,,,1703,,5c2d3d3d.6a7,1,,2019-01-02 22:37:49 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:51.577 UTC,,,1703,,5c2d3d3d.6a7,2,,2019-01-02 22:37:49 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:51.578 UTC,,,1693,,5c2d3d3d.69d,6,,2019-01-02 22:37:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016D50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:51.853 UTC,,,1706,,5c2d3d3f.6aa,1,,2019-01-02 22:37:51 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:53.456 UTC,,,1710,"[local]",5c2d3d41.6ae,1,"",2019-01-02 22:37:53 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:53.457 UTC,"postgres","postgres",1710,"[local]",5c2d3d41.6ae,2,"authentication",2019-01-02 22:37:53 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:54.478 UTC,,,82,,5c2d3ab1.52,507,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1702) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:54.478 UTC,,,82,,5c2d3ab1.52,508,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:54.478 UTC,"postgres","postgres",1710,"[local]",5c2d3d41.6ae,3,"idle",2019-01-02 22:37:53 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:54.491 UTC,,,82,,5c2d3ab1.52,509,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:37:54.717 UTC,,,1712,,5c2d3d42.6b0,1,,2019-01-02 22:37:54 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:37:54.782 UTC,,,1712,,5c2d3d42.6b0,2,,2019-01-02 22:37:54 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:37:54.788 UTC,,,1712,,5c2d3d42.6b0,3,,2019-01-02 22:37:54 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:37:55.103 UTC,,,1712,,5c2d3d42.6b0,4,,2019-01-02 22:37:54 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:37:55.104 UTC,,,82,,5c2d3ab1.52,510,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:37:55.105 UTC,,,1712,,5c2d3d42.6b0,5,,2019-01-02 22:37:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016D50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:55.189 UTC,,,1717,,5c2d3d43.6b5,1,,2019-01-02 22:37:55 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:37:56.849 UTC,,,1717,,5c2d3d43.6b5,2,,2019-01-02 22:37:55 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:37:56.849 UTC,,,1712,,5c2d3d42.6b0,6,,2019-01-02 22:37:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016DC0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:37:57.024 UTC,,,1720,,5c2d3d44.6b8,1,,2019-01-02 22:37:56 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:37:58.677 UTC,,,1722,"[local]",5c2d3d46.6ba,1,"",2019-01-02 22:37:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:58.678 UTC,"postgres","postgres",1722,"[local]",5c2d3d46.6ba,2,"authentication",2019-01-02 22:37:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:58.683 UTC,"postgres","postgres",1722,"[local]",5c2d3d46.6ba,3,"idle",2019-01-02 22:37:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:37:59.161 UTC,,,1723,"[local]",5c2d3d47.6bb,1,"",2019-01-02 22:37:59 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:37:59.162 UTC,"postgres","postgres",1723,"[local]",5c2d3d47.6bb,2,"authentication",2019-01-02 22:37:59 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:37:59.854 UTC,,,82,,5c2d3ab1.52,511,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1716) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:37:59.854 UTC,,,82,,5c2d3ab1.52,512,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:37:59.854 UTC,"postgres","postgres",1723,"[local]",5c2d3d47.6bb,3,"idle",2019-01-02 22:37:59 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:37:59.861 UTC,,,82,,5c2d3ab1.52,513,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:00.256 UTC,,,1732,,5c2d3d48.6c4,1,,2019-01-02 22:38:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:00.319 UTC,,,1732,,5c2d3d48.6c4,2,,2019-01-02 22:38:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:00.325 UTC,,,1732,,5c2d3d48.6c4,3,,2019-01-02 22:38:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:00.436 UTC,,,1732,,5c2d3d48.6c4,4,,2019-01-02 22:38:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:00.453 UTC,,,82,,5c2d3ab1.52,514,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:00.454 UTC,,,1732,,5c2d3d48.6c4,5,,2019-01-02 22:38:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016DC0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:00.498 UTC,,,1737,,5c2d3d48.6c9,1,,2019-01-02 22:38:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:01.872 UTC,,,1737,,5c2d3d48.6c9,2,,2019-01-02 22:38:00 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:01.873 UTC,,,1732,,5c2d3d48.6c4,6,,2019-01-02 22:38:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016E30: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:02.289 UTC,,,1740,,5c2d3d49.6cc,1,,2019-01-02 22:38:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:04.988 UTC,,,82,,5c2d3ab1.52,515,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1736) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:04.988 UTC,,,82,,5c2d3ab1.52,516,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:04.996 UTC,,,82,,5c2d3ab1.52,517,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:05.455 UTC,,,1741,,5c2d3d4d.6cd,1,,2019-01-02 22:38:05 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:05.517 UTC,,,1741,,5c2d3d4d.6cd,2,,2019-01-02 22:38:05 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:05.522 UTC,,,1741,,5c2d3d4d.6cd,3,,2019-01-02 22:38:05 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:05.608 UTC,,,1741,,5c2d3d4d.6cd,4,,2019-01-02 22:38:05 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:05.609 UTC,,,82,,5c2d3ab1.52,518,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:05.609 UTC,,,1741,,5c2d3d4d.6cd,5,,2019-01-02 22:38:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016E30: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:05.693 UTC,,,1746,,5c2d3d4d.6d2,1,,2019-01-02 22:38:05 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:07.136 UTC,,,1746,,5c2d3d4d.6d2,2,,2019-01-02 22:38:05 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:07.136 UTC,,,1741,,5c2d3d4d.6cd,6,,2019-01-02 22:38:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016EA0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:07.586 UTC,,,1749,,5c2d3d4f.6d5,1,,2019-01-02 22:38:07 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:08.861 UTC,,,1750,"[local]",5c2d3d50.6d6,1,"",2019-01-02 22:38:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:08.862 UTC,"postgres","postgres",1750,"[local]",5c2d3d50.6d6,2,"authentication",2019-01-02 22:38:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:38:10.255 UTC,,,82,,5c2d3ab1.52,519,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1745) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:10.255 UTC,,,82,,5c2d3ab1.52,520,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:10.255 UTC,"postgres","postgres",1750,"[local]",5c2d3d50.6d6,3,"idle",2019-01-02 22:38:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:38:10.271 UTC,,,82,,5c2d3ab1.52,521,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:10.754 UTC,,,1755,,5c2d3d52.6db,1,,2019-01-02 22:38:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:10.807 UTC,,,1755,,5c2d3d52.6db,2,,2019-01-02 22:38:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:10.812 UTC,,,1755,,5c2d3d52.6db,3,,2019-01-02 22:38:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:10.912 UTC,,,1755,,5c2d3d52.6db,4,,2019-01-02 22:38:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:10.912 UTC,,,82,,5c2d3ab1.52,522,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:10.913 UTC,,,1755,,5c2d3d52.6db,5,,2019-01-02 22:38:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016EA0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:10.999 UTC,,,1760,,5c2d3d52.6e0,1,,2019-01-02 22:38:10 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:12.495 UTC,,,1760,,5c2d3d52.6e0,2,,2019-01-02 22:38:10 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:12.495 UTC,,,1755,,5c2d3d52.6db,6,,2019-01-02 22:38:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016F10: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:12.953 UTC,,,1763,,5c2d3d54.6e3,1,,2019-01-02 22:38:12 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:15.460 UTC,,,82,,5c2d3ab1.52,523,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1759) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:15.460 UTC,,,82,,5c2d3ab1.52,524,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:15.466 UTC,,,82,,5c2d3ab1.52,525,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:15.954 UTC,,,1764,,5c2d3d57.6e4,1,,2019-01-02 22:38:15 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:16.016 UTC,,,1764,,5c2d3d57.6e4,2,,2019-01-02 22:38:15 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:16.054 UTC,,,1764,,5c2d3d57.6e4,3,,2019-01-02 22:38:15 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:16.157 UTC,,,1764,,5c2d3d57.6e4,4,,2019-01-02 22:38:15 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:16.158 UTC,,,82,,5c2d3ab1.52,526,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:16.158 UTC,,,1764,,5c2d3d57.6e4,5,,2019-01-02 22:38:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016F10: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:16.195 UTC,,,1769,,5c2d3d58.6e9,1,,2019-01-02 22:38:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:17.889 UTC,,,1769,,5c2d3d58.6e9,2,,2019-01-02 22:38:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:17.890 UTC,,,1764,,5c2d3d57.6e4,6,,2019-01-02 22:38:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016F80: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:18.110 UTC,,,1772,,5c2d3d59.6ec,1,,2019-01-02 22:38:17 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:18.954 UTC,,,1773,"[local]",5c2d3d5a.6ed,1,"",2019-01-02 22:38:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:18.955 UTC,"postgres","postgres",1773,"[local]",5c2d3d5a.6ed,2,"authentication",2019-01-02 22:38:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:38:20.635 UTC,,,82,,5c2d3ab1.52,527,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1768) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:20.635 UTC,,,82,,5c2d3ab1.52,528,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:20.635 UTC,"postgres","postgres",1773,"[local]",5c2d3d5a.6ed,3,"idle",2019-01-02 22:38:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:38:20.643 UTC,,,82,,5c2d3ab1.52,529,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:21.056 UTC,,,1782,,5c2d3d5d.6f6,1,,2019-01-02 22:38:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:21.154 UTC,,,1782,,5c2d3d5d.6f6,2,,2019-01-02 22:38:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:21.161 UTC,,,1782,,5c2d3d5d.6f6,3,,2019-01-02 22:38:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:21.410 UTC,,,1782,,5c2d3d5d.6f6,4,,2019-01-02 22:38:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:21.411 UTC,,,82,,5c2d3ab1.52,530,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:21.411 UTC,,,1782,,5c2d3d5d.6f6,5,,2019-01-02 22:38:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016F80: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:21.495 UTC,,,1787,,5c2d3d5d.6fb,1,,2019-01-02 22:38:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:23.012 UTC,,,1787,,5c2d3d5d.6fb,2,,2019-01-02 22:38:21 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:23.012 UTC,,,1782,,5c2d3d5d.6f6,6,,2019-01-02 22:38:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016FF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:23.383 UTC,,,1790,,5c2d3d5f.6fe,1,,2019-01-02 22:38:23 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:25.949 UTC,,,82,,5c2d3ab1.52,531,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1786) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:25.949 UTC,,,82,,5c2d3ab1.52,532,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:25.956 UTC,,,82,,5c2d3ab1.52,533,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:26.354 UTC,,,1791,,5c2d3d62.6ff,1,,2019-01-02 22:38:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:26.404 UTC,,,1791,,5c2d3d62.6ff,2,,2019-01-02 22:38:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:26.410 UTC,,,1791,,5c2d3d62.6ff,3,,2019-01-02 22:38:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:26.668 UTC,,,1791,,5c2d3d62.6ff,4,,2019-01-02 22:38:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:26.669 UTC,,,82,,5c2d3ab1.52,534,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:26.669 UTC,,,1791,,5c2d3d62.6ff,5,,2019-01-02 22:38:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14016FF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:26.793 UTC,,,1796,,5c2d3d62.704,1,,2019-01-02 22:38:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:28.343 UTC,,,1796,,5c2d3d62.704,2,,2019-01-02 22:38:26 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:28.353 UTC,,,1791,,5c2d3d62.6ff,6,,2019-01-02 22:38:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017060: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:28.889 UTC,,,1799,,5c2d3d64.707,1,,2019-01-02 22:38:28 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:29.953 UTC,,,1800,"[local]",5c2d3d65.708,1,"",2019-01-02 22:38:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:29.954 UTC,"postgres","postgres",1800,"[local]",5c2d3d65.708,2,"authentication",2019-01-02 22:38:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:38:29.961 UTC,,,1801,"127.0.0.1:48974",5c2d3d65.709,1,"",2019-01-02 22:38:29 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48974",,,,,,,,,""
2019-01-02 22:38:29.967 UTC,"standby","",1801,"127.0.0.1:48974",5c2d3d65.709,2,"authentication",2019-01-02 22:38:29 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:38:29.970 UTC,"standby","",1801,"127.0.0.1:48974",5c2d3d65.709,3,"idle",2019-01-02 22:38:29 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.009 user=standby database= host=127.0.0.1 port=48974",,,,,,,,,""
2019-01-02 22:38:31.233 UTC,,,82,,5c2d3ab1.52,535,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1795) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:31.233 UTC,,,82,,5c2d3ab1.52,536,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:31.233 UTC,"postgres","postgres",1800,"[local]",5c2d3d65.708,3,"idle",2019-01-02 22:38:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:38:31.244 UTC,,,82,,5c2d3ab1.52,537,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:31.556 UTC,,,1806,,5c2d3d67.70e,1,,2019-01-02 22:38:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:31.621 UTC,,,1806,,5c2d3d67.70e,2,,2019-01-02 22:38:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:31.627 UTC,,,1806,,5c2d3d67.70e,3,,2019-01-02 22:38:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:31.722 UTC,,,1806,,5c2d3d67.70e,4,,2019-01-02 22:38:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:31.723 UTC,,,82,,5c2d3ab1.52,538,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:31.724 UTC,,,1806,,5c2d3d67.70e,5,,2019-01-02 22:38:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017060: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:31.769 UTC,,,1811,,5c2d3d67.713,1,,2019-01-02 22:38:31 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:33.733 UTC,,,1811,,5c2d3d67.713,2,,2019-01-02 22:38:31 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:33.753 UTC,,,1806,,5c2d3d67.70e,6,,2019-01-02 22:38:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/140170D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:34.193 UTC,,,1814,,5c2d3d69.716,1,,2019-01-02 22:38:33 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:36.169 UTC,,,82,,5c2d3ab1.52,539,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1810) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:36.169 UTC,,,82,,5c2d3ab1.52,540,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:36.177 UTC,,,82,,5c2d3ab1.52,541,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:36.657 UTC,,,1815,,5c2d3d6c.717,1,,2019-01-02 22:38:36 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:36.762 UTC,,,1815,,5c2d3d6c.717,2,,2019-01-02 22:38:36 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:36.770 UTC,,,1815,,5c2d3d6c.717,3,,2019-01-02 22:38:36 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:36.892 UTC,,,1815,,5c2d3d6c.717,4,,2019-01-02 22:38:36 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:36.893 UTC,,,82,,5c2d3ab1.52,542,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:36.893 UTC,,,1815,,5c2d3d6c.717,5,,2019-01-02 22:38:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/140170D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:36.988 UTC,,,1820,,5c2d3d6c.71c,1,,2019-01-02 22:38:36 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:38.580 UTC,,,1823,"[local]",5c2d3d6e.71f,1,"",2019-01-02 22:38:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:38.581 UTC,"postgres","postgres",1823,"[local]",5c2d3d6e.71f,2,"authentication",2019-01-02 22:38:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:38:38.588 UTC,,,1824,"127.0.0.1:48986",5c2d3d6e.720,1,"",2019-01-02 22:38:38 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=48986",,,,,,,,,""
2019-01-02 22:38:38.594 UTC,"standby","",1824,"127.0.0.1:48986",5c2d3d6e.720,2,"authentication",2019-01-02 22:38:38 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:38:38.595 UTC,"standby","",1824,"127.0.0.1:48986",5c2d3d6e.720,3,"idle",2019-01-02 22:38:38 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.007 user=standby database= host=127.0.0.1 port=48986",,,,,,,,,""
2019-01-02 22:38:39.252 UTC,,,1820,,5c2d3d6c.71c,2,,2019-01-02 22:38:36 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:39.252 UTC,,,1815,,5c2d3d6c.717,6,,2019-01-02 22:38:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017140: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:39.394 UTC,,,1829,,5c2d3d6f.725,1,,2019-01-02 22:38:39 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:41.276 UTC,,,82,,5c2d3ab1.52,543,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1819) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:41.276 UTC,,,82,,5c2d3ab1.52,544,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:41.276 UTC,"postgres","postgres",1823,"[local]",5c2d3d6e.71f,3,"idle",2019-01-02 22:38:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:38:41.284 UTC,,,82,,5c2d3ab1.52,545,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:41.521 UTC,,,1830,,5c2d3d71.726,1,,2019-01-02 22:38:41 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:41.589 UTC,,,1830,,5c2d3d71.726,2,,2019-01-02 22:38:41 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:41.595 UTC,,,1830,,5c2d3d71.726,3,,2019-01-02 22:38:41 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:41.804 UTC,,,1830,,5c2d3d71.726,4,,2019-01-02 22:38:41 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:41.805 UTC,,,82,,5c2d3ab1.52,546,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:41.805 UTC,,,1830,,5c2d3d71.726,5,,2019-01-02 22:38:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017140: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:41.887 UTC,,,1835,,5c2d3d71.72b,1,,2019-01-02 22:38:41 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:44.223 UTC,,,1835,,5c2d3d71.72b,2,,2019-01-02 22:38:41 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:44.223 UTC,,,1830,,5c2d3d71.726,6,,2019-01-02 22:38:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/140171B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:44.679 UTC,,,1838,,5c2d3d74.72e,1,,2019-01-02 22:38:44 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:46.117 UTC,,,82,,5c2d3ab1.52,547,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1834) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:46.117 UTC,,,82,,5c2d3ab1.52,548,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:46.125 UTC,,,82,,5c2d3ab1.52,549,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:46.554 UTC,,,1839,,5c2d3d76.72f,1,,2019-01-02 22:38:46 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:46.629 UTC,,,1839,,5c2d3d76.72f,2,,2019-01-02 22:38:46 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:46.634 UTC,,,1839,,5c2d3d76.72f,3,,2019-01-02 22:38:46 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:46.761 UTC,,,1839,,5c2d3d76.72f,4,,2019-01-02 22:38:46 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:46.762 UTC,,,82,,5c2d3ab1.52,550,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:46.762 UTC,,,1839,,5c2d3d76.72f,5,,2019-01-02 22:38:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/140171B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:46.889 UTC,,,1844,,5c2d3d76.734,1,,2019-01-02 22:38:46 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:48.553 UTC,,,1847,"[local]",5c2d3d78.737,1,"",2019-01-02 22:38:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:48.554 UTC,"postgres","postgres",1847,"[local]",5c2d3d78.737,2,"authentication",2019-01-02 22:38:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:38:49.564 UTC,,,1844,,5c2d3d76.734,2,,2019-01-02 22:38:46 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:49.653 UTC,,,1839,,5c2d3d76.72f,6,,2019-01-02 22:38:46 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017220: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:50.083 UTC,,,1856,,5c2d3d79.740,1,,2019-01-02 22:38:49 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:51.203 UTC,,,82,,5c2d3ab1.52,551,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1843) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:51.203 UTC,,,82,,5c2d3ab1.52,552,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:51.203 UTC,"postgres","postgres",1847,"[local]",5c2d3d78.737,3,"idle",2019-01-02 22:38:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:38:51.212 UTC,,,82,,5c2d3ab1.52,553,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:51.568 UTC,,,1857,,5c2d3d7b.741,1,,2019-01-02 22:38:51 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:51.664 UTC,,,1857,,5c2d3d7b.741,2,,2019-01-02 22:38:51 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:51.670 UTC,,,1857,,5c2d3d7b.741,3,,2019-01-02 22:38:51 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:51.779 UTC,,,1857,,5c2d3d7b.741,4,,2019-01-02 22:38:51 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:51.780 UTC,,,82,,5c2d3ab1.52,554,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:51.781 UTC,,,1857,,5c2d3d7b.741,5,,2019-01-02 22:38:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017220: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:51.890 UTC,,,1862,,5c2d3d7b.746,1,,2019-01-02 22:38:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:54.883 UTC,,,1862,,5c2d3d7b.746,2,,2019-01-02 22:38:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:38:54.953 UTC,,,1857,,5c2d3d7b.741,6,,2019-01-02 22:38:51 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017290: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:55.174 UTC,,,1869,,5c2d3d7e.74d,1,,2019-01-02 22:38:54 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:38:56.269 UTC,,,82,,5c2d3ab1.52,555,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1861) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:38:56.269 UTC,,,82,,5c2d3ab1.52,556,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:38:56.283 UTC,,,82,,5c2d3ab1.52,557,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:38:56.661 UTC,,,1870,,5c2d3d80.74e,1,,2019-01-02 22:38:56 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:38:56.715 UTC,,,1870,,5c2d3d80.74e,2,,2019-01-02 22:38:56 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:38:56.753 UTC,,,1870,,5c2d3d80.74e,3,,2019-01-02 22:38:56 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:38:56.864 UTC,,,1870,,5c2d3d80.74e,4,,2019-01-02 22:38:56 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:38:56.865 UTC,,,82,,5c2d3ab1.52,558,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:38:56.866 UTC,,,1870,,5c2d3d80.74e,5,,2019-01-02 22:38:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017290: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:38:56.883 UTC,,,1875,,5c2d3d80.753,1,,2019-01-02 22:38:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:38:58.290 UTC,,,1878,"[local]",5c2d3d82.756,1,"",2019-01-02 22:38:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:38:58.291 UTC,"postgres","postgres",1878,"[local]",5c2d3d82.756,2,"authentication",2019-01-02 22:38:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:00.253 UTC,,,1875,,5c2d3d80.753,2,,2019-01-02 22:38:56 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:00.255 UTC,,,1870,,5c2d3d80.74e,6,,2019-01-02 22:38:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017300: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:00.663 UTC,,,1883,,5c2d3d84.75b,1,,2019-01-02 22:39:00 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:01.307 UTC,,,82,,5c2d3ab1.52,559,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1874) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:01.308 UTC,,,82,,5c2d3ab1.52,560,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:01.308 UTC,"postgres","postgres",1878,"[local]",5c2d3d82.756,3,"idle",2019-01-02 22:38:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:01.316 UTC,,,82,,5c2d3ab1.52,561,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:01.659 UTC,,,1884,,5c2d3d85.75c,1,,2019-01-02 22:39:01 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:01.757 UTC,,,1884,,5c2d3d85.75c,2,,2019-01-02 22:39:01 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:01.767 UTC,,,1884,,5c2d3d85.75c,3,,2019-01-02 22:39:01 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:01.823 UTC,,,1884,,5c2d3d85.75c,4,,2019-01-02 22:39:01 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:01.853 UTC,,,82,,5c2d3ab1.52,562,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:01.854 UTC,,,1884,,5c2d3d85.75c,5,,2019-01-02 22:39:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017300: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:01.886 UTC,,,1889,,5c2d3d85.761,1,,2019-01-02 22:39:01 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:05.553 UTC,,,1889,,5c2d3d85.761,2,,2019-01-02 22:39:01 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:05.555 UTC,,,1884,,5c2d3d85.75c,6,,2019-01-02 22:39:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017370: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:06.080 UTC,,,1892,,5c2d3d89.764,1,,2019-01-02 22:39:05 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:06.359 UTC,,,82,,5c2d3ab1.52,563,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1888) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:06.359 UTC,,,82,,5c2d3ab1.52,564,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:06.367 UTC,,,82,,5c2d3ab1.52,565,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:06.599 UTC,,,1893,,5c2d3d8a.765,1,,2019-01-02 22:39:06 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:06.670 UTC,,,1893,,5c2d3d8a.765,2,,2019-01-02 22:39:06 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:06.676 UTC,,,1893,,5c2d3d8a.765,3,,2019-01-02 22:39:06 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:06.758 UTC,,,1893,,5c2d3d8a.765,4,,2019-01-02 22:39:06 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:06.759 UTC,,,82,,5c2d3ab1.52,566,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:06.759 UTC,,,1893,,5c2d3d8a.765,5,,2019-01-02 22:39:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017370: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:06.785 UTC,,,1898,,5c2d3d8a.76a,1,,2019-01-02 22:39:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:09.253 UTC,,,1901,"[local]",5c2d3d8d.76d,1,"",2019-01-02 22:39:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:09.254 UTC,"postgres","postgres",1901,"[local]",5c2d3d8d.76d,2,"authentication",2019-01-02 22:39:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:10.953 UTC,,,1898,,5c2d3d8a.76a,2,,2019-01-02 22:39:06 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:10.954 UTC,,,1893,,5c2d3d8a.765,6,,2019-01-02 22:39:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/140173E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:11.178 UTC,,,1910,,5c2d3d8e.776,1,,2019-01-02 22:39:10 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:11.244 UTC,,,82,,5c2d3ab1.52,567,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1897) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:11.244 UTC,,,82,,5c2d3ab1.52,568,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:11.244 UTC,"postgres","postgres",1901,"[local]",5c2d3d8d.76d,3,"idle",2019-01-02 22:39:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:11.252 UTC,,,82,,5c2d3ab1.52,569,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:11.562 UTC,,,1911,,5c2d3d8f.777,1,,2019-01-02 22:39:11 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:11.712 UTC,,,1911,,5c2d3d8f.777,2,,2019-01-02 22:39:11 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:11.718 UTC,,,1911,,5c2d3d8f.777,3,,2019-01-02 22:39:11 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:11.822 UTC,,,1911,,5c2d3d8f.777,4,,2019-01-02 22:39:11 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:11.823 UTC,,,82,,5c2d3ab1.52,570,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:11.823 UTC,,,1911,,5c2d3d8f.777,5,,2019-01-02 22:39:11 UTC,1/0,0,LOG,00000,"invalid record length at 0/140173E0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:11.890 UTC,,,1916,,5c2d3d8f.77c,1,,2019-01-02 22:39:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:16.201 UTC,,,1916,,5c2d3d8f.77c,2,,2019-01-02 22:39:11 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:16.201 UTC,,,1911,,5c2d3d8f.777,6,,2019-01-02 22:39:11 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017450: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:16.261 UTC,,,82,,5c2d3ab1.52,571,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1915) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:16.261 UTC,,,82,,5c2d3ab1.52,572,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:16.277 UTC,,,82,,5c2d3ab1.52,573,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:16.654 UTC,,,1920,,5c2d3d94.780,1,,2019-01-02 22:39:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:16.709 UTC,,,1920,,5c2d3d94.780,2,,2019-01-02 22:39:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:16.796 UTC,,,1920,,5c2d3d94.780,3,,2019-01-02 22:39:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:16.913 UTC,,,1920,,5c2d3d94.780,4,,2019-01-02 22:39:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:16.914 UTC,,,82,,5c2d3ab1.52,574,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:16.914 UTC,,,1920,,5c2d3d94.780,5,,2019-01-02 22:39:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017450: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:16.987 UTC,,,1925,,5c2d3d94.785,1,,2019-01-02 22:39:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:18.553 UTC,,,1928,"[local]",5c2d3d96.788,1,"",2019-01-02 22:39:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:18.554 UTC,"postgres","postgres",1928,"[local]",5c2d3d96.788,2,"authentication",2019-01-02 22:39:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:21.347 UTC,,,82,,5c2d3ab1.52,575,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1924) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:21.347 UTC,,,82,,5c2d3ab1.52,576,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:21.347 UTC,"postgres","postgres",1928,"[local]",5c2d3d96.788,3,"idle",2019-01-02 22:39:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:21.357 UTC,,,82,,5c2d3ab1.52,577,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:21.755 UTC,,,1933,,5c2d3d99.78d,1,,2019-01-02 22:39:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:21.826 UTC,,,1933,,5c2d3d99.78d,2,,2019-01-02 22:39:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:21.876 UTC,,,1933,,5c2d3d99.78d,3,,2019-01-02 22:39:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:21.979 UTC,,,1933,,5c2d3d99.78d,4,,2019-01-02 22:39:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:21.979 UTC,,,82,,5c2d3ab1.52,578,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:21.980 UTC,,,1933,,5c2d3d99.78d,5,,2019-01-02 22:39:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/140174C0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:22.017 UTC,,,1938,,5c2d3d99.792,1,,2019-01-02 22:39:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:26.461 UTC,,,82,,5c2d3ab1.52,579,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1937) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:26.461 UTC,,,82,,5c2d3ab1.52,580,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:26.472 UTC,,,82,,5c2d3ab1.52,581,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:26.854 UTC,,,1941,,5c2d3d9e.795,1,,2019-01-02 22:39:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:26.916 UTC,,,1941,,5c2d3d9e.795,2,,2019-01-02 22:39:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:26.927 UTC,,,1941,,5c2d3d9e.795,3,,2019-01-02 22:39:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:27.241 UTC,,,1941,,5c2d3d9e.795,4,,2019-01-02 22:39:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:27.242 UTC,,,82,,5c2d3ab1.52,582,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:27.257 UTC,,,1941,,5c2d3d9e.795,5,,2019-01-02 22:39:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017530: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:27.272 UTC,,,1946,,5c2d3d9f.79a,1,,2019-01-02 22:39:27 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:29.118 UTC,,,1949,"[local]",5c2d3da1.79d,1,"",2019-01-02 22:39:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:29.119 UTC,"postgres","postgres",1949,"[local]",5c2d3da1.79d,2,"authentication",2019-01-02 22:39:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:31.737 UTC,,,82,,5c2d3ab1.52,583,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1945) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:31.737 UTC,,,82,,5c2d3ab1.52,584,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:31.743 UTC,"postgres","postgres",1949,"[local]",5c2d3da1.79d,3,"idle",2019-01-02 22:39:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:31.746 UTC,,,82,,5c2d3ab1.52,585,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:32.162 UTC,,,1954,,5c2d3da4.7a2,1,,2019-01-02 22:39:32 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:32.292 UTC,,,1954,,5c2d3da4.7a2,2,,2019-01-02 22:39:32 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:32.321 UTC,,,1954,,5c2d3da4.7a2,3,,2019-01-02 22:39:32 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:32.440 UTC,,,1954,,5c2d3da4.7a2,4,,2019-01-02 22:39:32 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:32.441 UTC,,,82,,5c2d3ab1.52,586,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:32.442 UTC,,,1954,,5c2d3da4.7a2,5,,2019-01-02 22:39:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/140175A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:32.494 UTC,,,1959,,5c2d3da4.7a7,1,,2019-01-02 22:39:32 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:32.508 UTC,,,1962,,5c2d3da4.7aa,1,,2019-01-02 22:39:32 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:36.941 UTC,,,82,,5c2d3ab1.52,587,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1958) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:36.941 UTC,,,82,,5c2d3ab1.52,588,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:36.947 UTC,,,82,,5c2d3ab1.52,589,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:37.456 UTC,,,1963,,5c2d3da9.7ab,1,,2019-01-02 22:39:37 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:37.560 UTC,,,1963,,5c2d3da9.7ab,2,,2019-01-02 22:39:37 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:37.566 UTC,,,1963,,5c2d3da9.7ab,3,,2019-01-02 22:39:37 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:37.658 UTC,,,1963,,5c2d3da9.7ab,4,,2019-01-02 22:39:37 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:37.659 UTC,,,82,,5c2d3ab1.52,590,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:37.659 UTC,,,1963,,5c2d3da9.7ab,5,,2019-01-02 22:39:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/140175A0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:37.791 UTC,,,1968,,5c2d3da9.7b0,1,,2019-01-02 22:39:37 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: no pg_hba.conf entry for replication connection from host ""10.244.35.0"", user ""standby"", SSL off",,,,,,,,,""
2019-01-02 22:39:37.806 UTC,,,1971,,5c2d3da9.7b3,1,,2019-01-02 22:39:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:38.553 UTC,,,1972,"[local]",5c2d3daa.7b4,1,"",2019-01-02 22:39:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:38.554 UTC,"postgres","postgres",1972,"[local]",5c2d3daa.7b4,2,"authentication",2019-01-02 22:39:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:42.186 UTC,,,82,,5c2d3ab1.52,591,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1967) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:42.186 UTC,,,82,,5c2d3ab1.52,592,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:42.186 UTC,"postgres","postgres",1972,"[local]",5c2d3daa.7b4,3,"idle",2019-01-02 22:39:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:42.196 UTC,,,82,,5c2d3ab1.52,593,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:42.664 UTC,,,1981,,5c2d3dae.7bd,1,,2019-01-02 22:39:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:43.001 UTC,,,1981,,5c2d3dae.7bd,2,,2019-01-02 22:39:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:43.008 UTC,,,1981,,5c2d3dae.7bd,3,,2019-01-02 22:39:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:43.267 UTC,,,1981,,5c2d3dae.7bd,4,,2019-01-02 22:39:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:43.268 UTC,,,82,,5c2d3ab1.52,594,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:43.269 UTC,,,1981,,5c2d3dae.7bd,5,,2019-01-02 22:39:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017680: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:43.385 UTC,,,1986,,5c2d3daf.7c2,1,,2019-01-02 22:39:43 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:47.254 UTC,,,1986,,5c2d3daf.7c2,2,,2019-01-02 22:39:43 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:47.257 UTC,,,1981,,5c2d3dae.7bd,6,,2019-01-02 22:39:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/140176F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:47.684 UTC,,,1989,,5c2d3db3.7c5,1,,2019-01-02 22:39:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:47.796 UTC,,,82,,5c2d3ab1.52,595,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1985) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:47.796 UTC,,,82,,5c2d3ab1.52,596,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:47.802 UTC,,,82,,5c2d3ab1.52,597,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:48.157 UTC,,,1990,,5c2d3db4.7c6,1,,2019-01-02 22:39:48 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:48.353 UTC,,,1990,,5c2d3db4.7c6,2,,2019-01-02 22:39:48 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:48.372 UTC,,,1990,,5c2d3db4.7c6,3,,2019-01-02 22:39:48 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:48.459 UTC,,,1990,,5c2d3db4.7c6,4,,2019-01-02 22:39:48 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:48.460 UTC,,,82,,5c2d3ab1.52,598,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:48.460 UTC,,,1990,,5c2d3db4.7c6,5,,2019-01-02 22:39:48 UTC,1/0,0,LOG,00000,"invalid record length at 0/140176F0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:48.491 UTC,,,1995,,5c2d3db4.7cb,1,,2019-01-02 22:39:48 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:48.853 UTC,,,1998,"[local]",5c2d3db4.7ce,1,"",2019-01-02 22:39:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:48.855 UTC,"postgres","postgres",1998,"[local]",5c2d3db4.7ce,2,"authentication",2019-01-02 22:39:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:39:52.756 UTC,,,1995,,5c2d3db4.7cb,2,,2019-01-02 22:39:48 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:52.757 UTC,,,1990,,5c2d3db4.7c6,6,,2019-01-02 22:39:48 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017760: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:52.953 UTC,,,2003,,5c2d3db8.7d3,1,,2019-01-02 22:39:52 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:53.048 UTC,,,82,,5c2d3ab1.52,599,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 1994) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:53.048 UTC,,,82,,5c2d3ab1.52,600,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:53.048 UTC,"postgres","postgres",1998,"[local]",5c2d3db4.7ce,3,"idle",2019-01-02 22:39:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:39:53.059 UTC,,,82,,5c2d3ab1.52,601,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:53.305 UTC,,,2004,,5c2d3db9.7d4,1,,2019-01-02 22:39:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:53.377 UTC,,,2004,,5c2d3db9.7d4,2,,2019-01-02 22:39:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:53.384 UTC,,,2004,,5c2d3db9.7d4,3,,2019-01-02 22:39:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:53.501 UTC,,,2004,,5c2d3db9.7d4,4,,2019-01-02 22:39:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:53.502 UTC,,,82,,5c2d3ab1.52,602,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:53.502 UTC,,,2004,,5c2d3db9.7d4,5,,2019-01-02 22:39:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017760: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:53.585 UTC,,,2009,,5c2d3db9.7d9,1,,2019-01-02 22:39:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:57.853 UTC,,,2009,,5c2d3db9.7d9,2,,2019-01-02 22:39:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:39:57.855 UTC,,,2004,,5c2d3db9.7d4,6,,2019-01-02 22:39:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/140177D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:57.877 UTC,,,82,,5c2d3ab1.52,603,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2008) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:39:57.877 UTC,,,82,,5c2d3ab1.52,604,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:39:57.886 UTC,,,82,,5c2d3ab1.52,605,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:39:58.355 UTC,,,2017,,5c2d3dbe.7e1,1,,2019-01-02 22:39:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:39:58.460 UTC,,,2018,"[local]",5c2d3dbe.7e2,1,"",2019-01-02 22:39:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:58.460 UTC,"postgres","postgres",2018,"[local]",5c2d3dbe.7e2,2,"",2019-01-02 22:39:58 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:39:58.490 UTC,,,2017,,5c2d3dbe.7e1,2,,2019-01-02 22:39:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:39:58.496 UTC,,,2017,,5c2d3dbe.7e1,3,,2019-01-02 22:39:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:39:58.684 UTC,,,2017,,5c2d3dbe.7e1,4,,2019-01-02 22:39:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:39:58.685 UTC,,,82,,5c2d3ab1.52,606,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:39:58.686 UTC,,,2017,,5c2d3dbe.7e1,5,,2019-01-02 22:39:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/140177D0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:39:58.786 UTC,,,2023,,5c2d3dbe.7e7,1,,2019-01-02 22:39:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:39:59.154 UTC,,,2026,"[local]",5c2d3dbf.7ea,1,"",2019-01-02 22:39:59 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:39:59.155 UTC,"postgres","postgres",2026,"[local]",5c2d3dbf.7ea,2,"authentication",2019-01-02 22:39:59 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:02.983 UTC,,,2023,,5c2d3dbe.7e7,2,,2019-01-02 22:39:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:02.985 UTC,,,2017,,5c2d3dbe.7e1,6,,2019-01-02 22:39:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017840: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:03.156 UTC,,,82,,5c2d3ab1.52,607,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2022) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:03.156 UTC,,,82,,5c2d3ab1.52,608,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:03.156 UTC,"postgres","postgres",2026,"[local]",5c2d3dbf.7ea,3,"idle",2019-01-02 22:39:59 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:40:03.166 UTC,,,82,,5c2d3ab1.52,609,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:03.554 UTC,,,2032,,5c2d3dc3.7f0,1,,2019-01-02 22:40:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:03.613 UTC,,,2032,,5c2d3dc3.7f0,2,,2019-01-02 22:40:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:03.619 UTC,,,2032,,5c2d3dc3.7f0,3,,2019-01-02 22:40:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:03.720 UTC,,,2032,,5c2d3dc3.7f0,4,,2019-01-02 22:40:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:03.754 UTC,,,82,,5c2d3ab1.52,610,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:03.754 UTC,,,2032,,5c2d3dc3.7f0,5,,2019-01-02 22:40:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017840: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:03.776 UTC,,,2037,,5c2d3dc3.7f5,1,,2019-01-02 22:40:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:08.295 UTC,,,2037,,5c2d3dc3.7f5,2,,2019-01-02 22:40:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:08.297 UTC,,,2032,,5c2d3dc3.7f0,6,,2019-01-02 22:40:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/140178B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:08.351 UTC,,,82,,5c2d3ab1.52,611,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2036) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:08.351 UTC,,,82,,5c2d3ab1.52,612,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:08.363 UTC,,,82,,5c2d3ab1.52,613,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:08.754 UTC,,,2041,,5c2d3dc8.7f9,1,,2019-01-02 22:40:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:08.761 UTC,,,2042,"[local]",5c2d3dc8.7fa,1,"",2019-01-02 22:40:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:08.761 UTC,"postgres","postgres",2042,"[local]",5c2d3dc8.7fa,2,"",2019-01-02 22:40:08 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:08.772 UTC,,,2044,"[local]",5c2d3dc8.7fc,1,"",2019-01-02 22:40:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:08.772 UTC,"postgres","postgres",2044,"[local]",5c2d3dc8.7fc,2,"",2019-01-02 22:40:08 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:08.895 UTC,,,2041,,5c2d3dc8.7f9,2,,2019-01-02 22:40:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:08.906 UTC,,,2041,,5c2d3dc8.7f9,3,,2019-01-02 22:40:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:08.983 UTC,,,2052,"[local]",5c2d3dc8.804,1,"",2019-01-02 22:40:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:08.983 UTC,"postgres","postgres",2052,"[local]",5c2d3dc8.804,2,"",2019-01-02 22:40:08 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:40:09.058 UTC,,,2053,"[local]",5c2d3dc9.805,1,"",2019-01-02 22:40:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:09.058 UTC,"postgres","postgres",2053,"[local]",5c2d3dc9.805,2,"",2019-01-02 22:40:09 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:40:09.199 UTC,,,2041,,5c2d3dc8.7f9,4,,2019-01-02 22:40:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:09.200 UTC,,,82,,5c2d3ab1.52,614,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:09.201 UTC,,,2041,,5c2d3dc8.7f9,5,,2019-01-02 22:40:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/140178B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:09.292 UTC,,,2056,,5c2d3dc9.808,1,,2019-01-02 22:40:09 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:09.654 UTC,,,2059,"[local]",5c2d3dc9.80b,1,"",2019-01-02 22:40:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:09.655 UTC,"postgres","postgres",2059,"[local]",5c2d3dc9.80b,2,"authentication",2019-01-02 22:40:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:09.660 UTC,,,2060,"127.0.0.1:49104",5c2d3dc9.80c,1,"",2019-01-02 22:40:09 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=49104",,,,,,,,,""
2019-01-02 22:40:09.665 UTC,"standby","",2060,"127.0.0.1:49104",5c2d3dc9.80c,2,"authentication",2019-01-02 22:40:09 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:40:09.667 UTC,"standby","",2060,"127.0.0.1:49104",5c2d3dc9.80c,3,"idle",2019-01-02 22:40:09 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=standby database= host=127.0.0.1 port=49104",,,,,,,,,""
2019-01-02 22:40:13.596 UTC,,,2056,,5c2d3dc9.808,2,,2019-01-02 22:40:09 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:13.597 UTC,,,2041,,5c2d3dc8.7f9,6,,2019-01-02 22:40:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017920: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:13.656 UTC,,,82,,5c2d3ab1.52,615,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2055) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:13.656 UTC,,,82,,5c2d3ab1.52,616,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:13.657 UTC,"postgres","postgres",2059,"[local]",5c2d3dc9.80b,3,"idle",2019-01-02 22:40:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:40:13.667 UTC,,,82,,5c2d3ab1.52,617,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:13.920 UTC,,,2066,,5c2d3dcd.812,1,,2019-01-02 22:40:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:13.974 UTC,,,2066,,5c2d3dcd.812,2,,2019-01-02 22:40:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:13.980 UTC,,,2066,,5c2d3dcd.812,3,,2019-01-02 22:40:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:14.134 UTC,,,2066,,5c2d3dcd.812,4,,2019-01-02 22:40:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:14.135 UTC,,,82,,5c2d3ab1.52,618,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:14.135 UTC,,,2066,,5c2d3dcd.812,5,,2019-01-02 22:40:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017920: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:14.158 UTC,,,2071,,5c2d3dce.817,1,,2019-01-02 22:40:14 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:18.172 UTC,,,2075,"[local]",5c2d3dd2.81b,1,"",2019-01-02 22:40:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:18.173 UTC,"postgres","postgres",2075,"[local]",5c2d3dd2.81b,2,"authentication",2019-01-02 22:40:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:18.180 UTC,"postgres","postgres",2075,"[local]",5c2d3dd2.81b,3,"idle",2019-01-02 22:40:18 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.008 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:40:18.457 UTC,,,2076,"[local]",5c2d3dd2.81c,1,"",2019-01-02 22:40:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:18.458 UTC,"postgres","postgres",2076,"[local]",5c2d3dd2.81c,2,"authentication",2019-01-02 22:40:18 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:18.580 UTC,,,82,,5c2d3ab1.52,619,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2070) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:18.580 UTC,,,82,,5c2d3ab1.52,620,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:18.580 UTC,"postgres","postgres",2076,"[local]",5c2d3dd2.81c,3,"idle",2019-01-02 22:40:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:40:18.662 UTC,,,82,,5c2d3ab1.52,621,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:19.058 UTC,,,2081,,5c2d3dd3.821,1,,2019-01-02 22:40:19 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:19.158 UTC,,,2081,,5c2d3dd3.821,2,,2019-01-02 22:40:19 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:19.164 UTC,,,2081,,5c2d3dd3.821,3,,2019-01-02 22:40:19 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:19.260 UTC,,,2081,,5c2d3dd3.821,4,,2019-01-02 22:40:19 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:19.261 UTC,,,82,,5c2d3ab1.52,622,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:19.262 UTC,,,2081,,5c2d3dd3.821,5,,2019-01-02 22:40:19 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017990: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:19.287 UTC,,,2086,,5c2d3dd3.826,1,,2019-01-02 22:40:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:19.308 UTC,,,2089,,5c2d3dd3.829,1,,2019-01-02 22:40:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:23.751 UTC,,,82,,5c2d3ab1.52,623,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2085) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:23.751 UTC,,,82,,5c2d3ab1.52,624,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:23.757 UTC,,,82,,5c2d3ab1.52,625,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:24.154 UTC,,,2090,,5c2d3dd8.82a,1,,2019-01-02 22:40:24 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:24.218 UTC,,,2090,,5c2d3dd8.82a,2,,2019-01-02 22:40:24 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:24.224 UTC,,,2090,,5c2d3dd8.82a,3,,2019-01-02 22:40:24 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:24.499 UTC,,,2090,,5c2d3dd8.82a,4,,2019-01-02 22:40:24 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:24.500 UTC,,,82,,5c2d3ab1.52,626,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:24.501 UTC,,,2090,,5c2d3dd8.82a,5,,2019-01-02 22:40:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017990: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:24.563 UTC,,,2095,,5c2d3dd8.82f,1,,2019-01-02 22:40:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:28.985 UTC,,,2095,,5c2d3dd8.82f,2,,2019-01-02 22:40:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:28.985 UTC,,,2090,,5c2d3dd8.82a,6,,2019-01-02 22:40:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017A70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:29.164 UTC,,,82,,5c2d3ab1.52,627,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2094) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:29.164 UTC,,,82,,5c2d3ab1.52,628,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:29.172 UTC,,,82,,5c2d3ab1.52,629,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:29.460 UTC,,,2100,"[local]",5c2d3ddd.834,1,"",2019-01-02 22:40:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:29.460 UTC,"postgres","postgres",2100,"[local]",5c2d3ddd.834,2,"",2019-01-02 22:40:29 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:29.464 UTC,,,2099,,5c2d3ddd.833,1,,2019-01-02 22:40:29 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:29.480 UTC,,,2102,"[local]",5c2d3ddd.836,1,"",2019-01-02 22:40:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:29.480 UTC,"postgres","postgres",2102,"[local]",5c2d3ddd.836,2,"",2019-01-02 22:40:29 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:40:29.607 UTC,,,2099,,5c2d3ddd.833,2,,2019-01-02 22:40:29 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:29.613 UTC,,,2099,,5c2d3ddd.833,3,,2019-01-02 22:40:29 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:29.740 UTC,,,2099,,5c2d3ddd.833,4,,2019-01-02 22:40:29 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:29.754 UTC,,,82,,5c2d3ab1.52,630,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:29.754 UTC,,,2099,,5c2d3ddd.833,5,,2019-01-02 22:40:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017A70: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:29.780 UTC,,,2111,,5c2d3ddd.83f,1,,2019-01-02 22:40:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:34.353 UTC,,,2111,,5c2d3ddd.83f,2,,2019-01-02 22:40:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:34.356 UTC,,,2099,,5c2d3ddd.833,6,,2019-01-02 22:40:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017AE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:34.436 UTC,,,82,,5c2d3ab1.52,631,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2110) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:34.436 UTC,,,82,,5c2d3ab1.52,632,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:34.445 UTC,,,82,,5c2d3ab1.52,633,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:34.756 UTC,,,2115,,5c2d3de2.843,1,,2019-01-02 22:40:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:34.823 UTC,,,2115,,5c2d3de2.843,2,,2019-01-02 22:40:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:34.854 UTC,,,2115,,5c2d3de2.843,3,,2019-01-02 22:40:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:34.968 UTC,,,2115,,5c2d3de2.843,4,,2019-01-02 22:40:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:34.968 UTC,,,82,,5c2d3ab1.52,634,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:34.969 UTC,,,2115,,5c2d3de2.843,5,,2019-01-02 22:40:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017AE0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:34.990 UTC,,,2120,,5c2d3de2.848,1,,2019-01-02 22:40:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:38.067 UTC,,,2124,"[local]",5c2d3de6.84c,1,"",2019-01-02 22:40:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:38.068 UTC,"postgres","postgres",2124,"[local]",5c2d3de6.84c,2,"authentication",2019-01-02 22:40:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:38.076 UTC,"postgres","postgres",2124,"[local]",5c2d3de6.84c,3,"idle",2019-01-02 22:40:38 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:40:38.078 UTC,,,2125,"[local]",5c2d3de6.84d,1,"",2019-01-02 22:40:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:38.079 UTC,"postgres","postgres",2125,"[local]",5c2d3de6.84d,2,"authentication",2019-01-02 22:40:38 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:39.288 UTC,,,2120,,5c2d3de2.848,2,,2019-01-02 22:40:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:39.289 UTC,,,2115,,5c2d3de2.843,6,,2019-01-02 22:40:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017B50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:39.451 UTC,,,82,,5c2d3ab1.52,635,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2119) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:39.451 UTC,,,82,,5c2d3ab1.52,636,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:39.451 UTC,"postgres","postgres",2125,"[local]",5c2d3de6.84d,3,"idle",2019-01-02 22:40:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:40:39.460 UTC,,,82,,5c2d3ab1.52,637,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:39.854 UTC,,,2131,,5c2d3de7.853,1,,2019-01-02 22:40:39 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:39.912 UTC,,,2131,,5c2d3de7.853,2,,2019-01-02 22:40:39 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:39.918 UTC,,,2131,,5c2d3de7.853,3,,2019-01-02 22:40:39 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:40.036 UTC,,,2131,,5c2d3de7.853,4,,2019-01-02 22:40:39 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:40.037 UTC,,,82,,5c2d3ab1.52,638,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:40.037 UTC,,,2131,,5c2d3de7.853,5,,2019-01-02 22:40:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017B50: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:40.086 UTC,,,2136,,5c2d3de8.858,1,,2019-01-02 22:40:40 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:44.593 UTC,,,82,,5c2d3ab1.52,639,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2135) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:44.593 UTC,,,82,,5c2d3ab1.52,640,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:44.607 UTC,,,82,,5c2d3ab1.52,641,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:45.058 UTC,,,2139,,5c2d3ded.85b,1,,2019-01-02 22:40:45 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:45.113 UTC,,,2139,,5c2d3ded.85b,2,,2019-01-02 22:40:45 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:45.118 UTC,,,2139,,5c2d3ded.85b,3,,2019-01-02 22:40:45 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:45.210 UTC,,,2139,,5c2d3ded.85b,4,,2019-01-02 22:40:45 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:45.211 UTC,,,82,,5c2d3ab1.52,642,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:45.212 UTC,,,2139,,5c2d3ded.85b,5,,2019-01-02 22:40:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017BC0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:45.298 UTC,,,2144,,5c2d3ded.860,1,,2019-01-02 22:40:45 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: no pg_hba.conf entry for replication connection from host ""10.244.35.0"", user ""standby"", SSL off",,,,,,,,,""
2019-01-02 22:40:45.387 UTC,,,2147,,5c2d3ded.863,1,,2019-01-02 22:40:45 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:48.657 UTC,,,2148,"[local]",5c2d3df0.864,1,"",2019-01-02 22:40:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:48.658 UTC,"postgres","postgres",2148,"[local]",5c2d3df0.864,2,"authentication",2019-01-02 22:40:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:40:49.846 UTC,,,82,,5c2d3ab1.52,643,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2143) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:49.846 UTC,,,82,,5c2d3ab1.52,644,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:49.847 UTC,"postgres","postgres",2148,"[local]",5c2d3df0.864,3,"idle",2019-01-02 22:40:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:40:49.858 UTC,,,82,,5c2d3ab1.52,645,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:50.354 UTC,,,2153,,5c2d3df2.869,1,,2019-01-02 22:40:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:50.418 UTC,,,2153,,5c2d3df2.869,2,,2019-01-02 22:40:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:50.427 UTC,,,2153,,5c2d3df2.869,3,,2019-01-02 22:40:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:50.567 UTC,,,2153,,5c2d3df2.869,4,,2019-01-02 22:40:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:50.568 UTC,,,82,,5c2d3ab1.52,646,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:50.569 UTC,,,2153,,5c2d3df2.869,5,,2019-01-02 22:40:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017C30: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:50.686 UTC,,,2158,,5c2d3df2.86e,1,,2019-01-02 22:40:50 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:55.031 UTC,,,2158,,5c2d3df2.86e,2,,2019-01-02 22:40:50 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:40:55.032 UTC,,,2153,,5c2d3df2.869,6,,2019-01-02 22:40:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017CA0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:55.131 UTC,,,82,,5c2d3ab1.52,647,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2157) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:40:55.131 UTC,,,82,,5c2d3ab1.52,648,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:40:55.141 UTC,,,82,,5c2d3ab1.52,649,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:40:55.453 UTC,,,2166,,5c2d3df7.876,1,,2019-01-02 22:40:55 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:40:55.508 UTC,,,2166,,5c2d3df7.876,2,,2019-01-02 22:40:55 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:40:55.513 UTC,,,2166,,5c2d3df7.876,3,,2019-01-02 22:40:55 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:40:55.611 UTC,,,2166,,5c2d3df7.876,4,,2019-01-02 22:40:55 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:40:55.611 UTC,,,82,,5c2d3ab1.52,650,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:40:55.612 UTC,,,2166,,5c2d3df7.876,5,,2019-01-02 22:40:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017CA0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:40:55.668 UTC,,,2171,,5c2d3df7.87b,1,,2019-01-02 22:40:55 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:40:57.779 UTC,,,2174,"[local]",5c2d3df9.87e,1,"",2019-01-02 22:40:57 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:40:57.780 UTC,"postgres","postgres",2174,"[local]",5c2d3df9.87e,2,"authentication",2019-01-02 22:40:57 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:00.148 UTC,,,82,,5c2d3ab1.52,651,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2170) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:00.148 UTC,,,82,,5c2d3ab1.52,652,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:00.148 UTC,"postgres","postgres",2174,"[local]",5c2d3df9.87e,3,"idle",2019-01-02 22:40:57 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:00.161 UTC,,,82,,5c2d3ab1.52,653,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:00.554 UTC,,,2183,,5c2d3dfc.887,1,,2019-01-02 22:41:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:00.613 UTC,,,2183,,5c2d3dfc.887,2,,2019-01-02 22:41:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:00.618 UTC,,,2183,,5c2d3dfc.887,3,,2019-01-02 22:41:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:00.780 UTC,,,2183,,5c2d3dfc.887,4,,2019-01-02 22:41:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:00.780 UTC,,,82,,5c2d3ab1.52,654,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:00.781 UTC,,,2183,,5c2d3dfc.887,5,,2019-01-02 22:41:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017D10: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:00.798 UTC,,,2188,,5c2d3dfc.88c,1,,2019-01-02 22:41:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:05.326 UTC,,,82,,5c2d3ab1.52,655,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2187) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:05.326 UTC,,,82,,5c2d3ab1.52,656,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:05.336 UTC,,,82,,5c2d3ab1.52,657,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:05.858 UTC,,,2191,,5c2d3e01.88f,1,,2019-01-02 22:41:05 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:05.921 UTC,,,2191,,5c2d3e01.88f,2,,2019-01-02 22:41:05 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:05.928 UTC,,,2191,,5c2d3e01.88f,3,,2019-01-02 22:41:05 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:06.070 UTC,,,2191,,5c2d3e01.88f,4,,2019-01-02 22:41:05 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:06.071 UTC,,,82,,5c2d3ab1.52,658,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:06.071 UTC,,,2191,,5c2d3e01.88f,5,,2019-01-02 22:41:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017D80: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:06.189 UTC,,,2196,,5c2d3e02.894,1,,2019-01-02 22:41:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:08.553 UTC,,,2199,"[local]",5c2d3e04.897,1,"",2019-01-02 22:41:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:08.554 UTC,"postgres","postgres",2199,"[local]",5c2d3e04.897,2,"authentication",2019-01-02 22:41:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:10.253 UTC,,,2196,,5c2d3e02.894,2,,2019-01-02 22:41:06 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:10.255 UTC,,,2191,,5c2d3e01.88f,6,,2019-01-02 22:41:05 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017DF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:10.643 UTC,,,82,,5c2d3ab1.52,659,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2195) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:10.643 UTC,,,82,,5c2d3ab1.52,660,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:10.643 UTC,"postgres","postgres",2199,"[local]",5c2d3e04.897,3,"idle",2019-01-02 22:41:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:10.654 UTC,,,82,,5c2d3ab1.52,661,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:10.954 UTC,,,2209,,5c2d3e06.8a1,1,,2019-01-02 22:41:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:11.017 UTC,,,2209,,5c2d3e06.8a1,2,,2019-01-02 22:41:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:11.024 UTC,,,2209,,5c2d3e06.8a1,3,,2019-01-02 22:41:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:11.164 UTC,,,2209,,5c2d3e06.8a1,4,,2019-01-02 22:41:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:11.165 UTC,,,82,,5c2d3ab1.52,662,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:11.165 UTC,,,2209,,5c2d3e06.8a1,5,,2019-01-02 22:41:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017DF0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:11.286 UTC,,,2214,,5c2d3e07.8a6,1,,2019-01-02 22:41:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:15.614 UTC,,,2214,,5c2d3e07.8a6,2,,2019-01-02 22:41:11 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:15.616 UTC,,,2209,,5c2d3e06.8a1,6,,2019-01-02 22:41:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017E60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:15.676 UTC,,,82,,5c2d3ab1.52,663,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2213) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:15.676 UTC,,,82,,5c2d3ab1.52,664,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:15.684 UTC,,,82,,5c2d3ab1.52,665,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:16.156 UTC,,,2218,,5c2d3e0c.8aa,1,,2019-01-02 22:41:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:16.224 UTC,,,2218,,5c2d3e0c.8aa,2,,2019-01-02 22:41:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:16.230 UTC,,,2218,,5c2d3e0c.8aa,3,,2019-01-02 22:41:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:16.324 UTC,,,2218,,5c2d3e0c.8aa,4,,2019-01-02 22:41:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:16.325 UTC,,,82,,5c2d3ab1.52,666,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:16.325 UTC,,,2218,,5c2d3e0c.8aa,5,,2019-01-02 22:41:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017E60: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:16.389 UTC,,,2223,,5c2d3e0c.8af,1,,2019-01-02 22:41:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:18.755 UTC,,,2226,"[local]",5c2d3e0e.8b2,1,"",2019-01-02 22:41:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:18.756 UTC,"postgres","postgres",2226,"[local]",5c2d3e0e.8b2,2,"authentication",2019-01-02 22:41:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:20.653 UTC,,,2223,,5c2d3e0c.8af,2,,2019-01-02 22:41:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:20.656 UTC,,,2218,,5c2d3e0c.8aa,6,,2019-01-02 22:41:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017ED0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:20.822 UTC,,,2231,,5c2d3e10.8b7,1,,2019-01-02 22:41:20 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:20.858 UTC,,,82,,5c2d3ab1.52,667,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2222) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:20.858 UTC,,,82,,5c2d3ab1.52,668,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:20.858 UTC,"postgres","postgres",2226,"[local]",5c2d3e0e.8b2,3,"idle",2019-01-02 22:41:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:20.869 UTC,,,82,,5c2d3ab1.52,669,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:21.354 UTC,,,2232,,5c2d3e11.8b8,1,,2019-01-02 22:41:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:21.414 UTC,,,2232,,5c2d3e11.8b8,2,,2019-01-02 22:41:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:21.420 UTC,,,2232,,5c2d3e11.8b8,3,,2019-01-02 22:41:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:22.372 UTC,,,2232,,5c2d3e11.8b8,4,,2019-01-02 22:41:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:22.372 UTC,,,82,,5c2d3ab1.52,670,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:22.373 UTC,,,2232,,5c2d3e11.8b8,5,,2019-01-02 22:41:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017ED0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:22.486 UTC,,,2237,,5c2d3e12.8bd,1,,2019-01-02 22:41:22 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:25.553 UTC,,,2237,,5c2d3e12.8bd,2,,2019-01-02 22:41:22 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:25.556 UTC,,,2232,,5c2d3e11.8b8,6,,2019-01-02 22:41:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017F40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:26.085 UTC,,,2240,,5c2d3e15.8c0,1,,2019-01-02 22:41:25 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:26.789 UTC,,,82,,5c2d3ab1.52,671,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2236) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:26.789 UTC,,,82,,5c2d3ab1.52,672,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:26.796 UTC,,,82,,5c2d3ab1.52,673,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:27.060 UTC,,,2241,,5c2d3e17.8c1,1,,2019-01-02 22:41:27 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:27.154 UTC,,,2241,,5c2d3e17.8c1,2,,2019-01-02 22:41:27 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:27.161 UTC,,,2241,,5c2d3e17.8c1,3,,2019-01-02 22:41:27 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:27.278 UTC,,,2241,,5c2d3e17.8c1,4,,2019-01-02 22:41:27 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:27.279 UTC,,,82,,5c2d3ab1.52,674,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:27.279 UTC,,,2241,,5c2d3e17.8c1,5,,2019-01-02 22:41:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017F40: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:27.389 UTC,,,2246,,5c2d3e17.8c6,1,,2019-01-02 22:41:27 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:28.853 UTC,,,2249,"[local]",5c2d3e18.8c9,1,"",2019-01-02 22:41:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:28.854 UTC,"postgres","postgres",2249,"[local]",5c2d3e18.8c9,2,"authentication",2019-01-02 22:41:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:30.853 UTC,,,2246,,5c2d3e17.8c6,2,,2019-01-02 22:41:27 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:30.855 UTC,,,2241,,5c2d3e17.8c1,6,,2019-01-02 22:41:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017FB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:31.080 UTC,,,2254,,5c2d3e1a.8ce,1,,2019-01-02 22:41:30 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:31.838 UTC,,,82,,5c2d3ab1.52,675,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2245) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:31.838 UTC,,,82,,5c2d3ab1.52,676,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:31.838 UTC,"postgres","postgres",2249,"[local]",5c2d3e18.8c9,3,"idle",2019-01-02 22:41:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:31.850 UTC,,,82,,5c2d3ab1.52,677,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:32.360 UTC,,,2255,,5c2d3e1c.8cf,1,,2019-01-02 22:41:32 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:32.460 UTC,,,2255,,5c2d3e1c.8cf,2,,2019-01-02 22:41:32 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:32.470 UTC,,,2255,,5c2d3e1c.8cf,3,,2019-01-02 22:41:32 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:32.610 UTC,,,2255,,5c2d3e1c.8cf,4,,2019-01-02 22:41:32 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:32.611 UTC,,,82,,5c2d3ab1.52,678,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:32.611 UTC,,,2255,,5c2d3e1c.8cf,5,,2019-01-02 22:41:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/14017FB0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:32.687 UTC,,,2260,,5c2d3e1c.8d4,1,,2019-01-02 22:41:32 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:35.753 UTC,,,2260,,5c2d3e1c.8d4,2,,2019-01-02 22:41:32 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:35.756 UTC,,,2255,,5c2d3e1c.8cf,6,,2019-01-02 22:41:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018038: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:36.059 UTC,,,2263,,5c2d3e1f.8d7,1,,2019-01-02 22:41:35 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:37.147 UTC,,,82,,5c2d3ab1.52,679,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2259) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:37.147 UTC,,,82,,5c2d3ab1.52,680,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:37.156 UTC,,,82,,5c2d3ab1.52,681,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:37.554 UTC,,,2264,,5c2d3e21.8d8,1,,2019-01-02 22:41:37 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:37.767 UTC,,,2264,,5c2d3e21.8d8,2,,2019-01-02 22:41:37 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:37.776 UTC,,,2264,,5c2d3e21.8d8,3,,2019-01-02 22:41:37 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:37.937 UTC,,,2264,,5c2d3e21.8d8,4,,2019-01-02 22:41:37 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:37.937 UTC,,,82,,5c2d3ab1.52,682,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:37.938 UTC,,,2264,,5c2d3e21.8d8,5,,2019-01-02 22:41:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018038: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:37.988 UTC,,,2269,,5c2d3e21.8dd,1,,2019-01-02 22:41:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:39.053 UTC,,,2272,"[local]",5c2d3e23.8e0,1,"",2019-01-02 22:41:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:39.054 UTC,"postgres","postgres",2272,"[local]",5c2d3e23.8e0,2,"authentication",2019-01-02 22:41:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:40.805 UTC,,,2269,,5c2d3e21.8dd,2,,2019-01-02 22:41:37 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:40.805 UTC,,,2264,,5c2d3e21.8d8,6,,2019-01-02 22:41:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/140180A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:41.066 UTC,,,2277,,5c2d3e24.8e5,1,,2019-01-02 22:41:40 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:42.431 UTC,,,82,,5c2d3ab1.52,683,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2268) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:42.431 UTC,,,82,,5c2d3ab1.52,684,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:42.431 UTC,"postgres","postgres",2272,"[local]",5c2d3e23.8e0,3,"idle",2019-01-02 22:41:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:42.439 UTC,,,82,,5c2d3ab1.52,685,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:42.754 UTC,,,2278,,5c2d3e26.8e6,1,,2019-01-02 22:41:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:42.809 UTC,,,2278,,5c2d3e26.8e6,2,,2019-01-02 22:41:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:42.817 UTC,,,2278,,5c2d3e26.8e6,3,,2019-01-02 22:41:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:42.915 UTC,,,2278,,5c2d3e26.8e6,4,,2019-01-02 22:41:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:42.916 UTC,,,82,,5c2d3ab1.52,686,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:42.916 UTC,,,2278,,5c2d3e26.8e6,5,,2019-01-02 22:41:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/140180A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:42.988 UTC,,,2283,,5c2d3e26.8eb,1,,2019-01-02 22:41:42 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:45.780 UTC,,,2283,,5c2d3e26.8eb,2,,2019-01-02 22:41:42 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:45.780 UTC,,,2278,,5c2d3e26.8e6,6,,2019-01-02 22:41:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018118: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:46.453 UTC,,,2286,,5c2d3e29.8ee,1,,2019-01-02 22:41:45 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:47.348 UTC,,,82,,5c2d3ab1.52,687,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2282) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:47.348 UTC,,,82,,5c2d3ab1.52,688,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:47.355 UTC,,,82,,5c2d3ab1.52,689,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:47.858 UTC,,,2287,,5c2d3e2b.8ef,1,,2019-01-02 22:41:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:47.964 UTC,,,2287,,5c2d3e2b.8ef,2,,2019-01-02 22:41:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:47.970 UTC,,,2287,,5c2d3e2b.8ef,3,,2019-01-02 22:41:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:48.061 UTC,,,2287,,5c2d3e2b.8ef,4,,2019-01-02 22:41:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:48.062 UTC,,,82,,5c2d3ab1.52,690,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:48.062 UTC,,,2287,,5c2d3e2b.8ef,5,,2019-01-02 22:41:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018118: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:48.085 UTC,,,2292,,5c2d3e2c.8f4,1,,2019-01-02 22:41:48 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:49.283 UTC,,,2295,"[local]",5c2d3e2d.8f7,1,"",2019-01-02 22:41:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:49.284 UTC,"postgres","postgres",2295,"[local]",5c2d3e2d.8f7,2,"authentication",2019-01-02 22:41:49 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:41:51.154 UTC,,,2292,,5c2d3e2c.8f4,2,,2019-01-02 22:41:48 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:51.156 UTC,,,2287,,5c2d3e2b.8ef,6,,2019-01-02 22:41:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018188: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:51.753 UTC,,,2300,,5c2d3e2f.8fc,1,,2019-01-02 22:41:51 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: no pg_hba.conf entry for replication connection from host ""10.244.35.0"", user ""standby"", SSL off",,,,,,,,,""
2019-01-02 22:41:52.723 UTC,,,82,,5c2d3ab1.52,691,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2291) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:52.723 UTC,,,82,,5c2d3ab1.52,692,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:52.723 UTC,"postgres","postgres",2295,"[local]",5c2d3e2d.8f7,3,"idle",2019-01-02 22:41:49 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:41:52.731 UTC,,,82,,5c2d3ab1.52,693,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:53.163 UTC,,,2301,,5c2d3e31.8fd,1,,2019-01-02 22:41:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:53.269 UTC,,,2301,,5c2d3e31.8fd,2,,2019-01-02 22:41:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:53.275 UTC,,,2301,,5c2d3e31.8fd,3,,2019-01-02 22:41:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:53.369 UTC,,,2301,,5c2d3e31.8fd,4,,2019-01-02 22:41:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:53.370 UTC,,,82,,5c2d3ab1.52,694,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:53.370 UTC,,,2301,,5c2d3e31.8fd,5,,2019-01-02 22:41:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018188: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:53.390 UTC,,,2306,,5c2d3e31.902,1,,2019-01-02 22:41:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:56.215 UTC,,,2306,,5c2d3e31.902,2,,2019-01-02 22:41:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:41:56.215 UTC,,,2301,,5c2d3e31.8fd,6,,2019-01-02 22:41:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/140181F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:56.476 UTC,,,2313,,5c2d3e34.909,1,,2019-01-02 22:41:56 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:41:57.731 UTC,,,82,,5c2d3ab1.52,695,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2305) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:41:57.732 UTC,,,82,,5c2d3ab1.52,696,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:41:57.738 UTC,,,82,,5c2d3ab1.52,697,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:41:58.260 UTC,,,2314,,5c2d3e36.90a,1,,2019-01-02 22:41:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:41:58.364 UTC,,,2314,,5c2d3e36.90a,2,,2019-01-02 22:41:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:41:58.370 UTC,,,2314,,5c2d3e36.90a,3,,2019-01-02 22:41:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:41:58.457 UTC,,,2317,"[local]",5c2d3e36.90d,1,"",2019-01-02 22:41:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:58.457 UTC,"postgres","postgres",2317,"[local]",5c2d3e36.90d,2,"",2019-01-02 22:41:58 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:41:58.581 UTC,,,2314,,5c2d3e36.90a,4,,2019-01-02 22:41:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:41:58.581 UTC,,,82,,5c2d3ab1.52,698,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:41:58.582 UTC,,,2314,,5c2d3e36.90a,5,,2019-01-02 22:41:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/140181F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:41:58.688 UTC,,,2320,,5c2d3e36.910,1,,2019-01-02 22:41:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:41:59.153 UTC,,,2323,"[local]",5c2d3e37.913,1,"",2019-01-02 22:41:59 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:41:59.154 UTC,"postgres","postgres",2323,"[local]",5c2d3e37.913,2,"authentication",2019-01-02 22:41:59 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:01.264 UTC,,,2320,,5c2d3e36.910,2,,2019-01-02 22:41:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:01.264 UTC,,,2314,,5c2d3e36.90a,6,,2019-01-02 22:41:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018268: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:01.657 UTC,,,2328,,5c2d3e39.918,1,,2019-01-02 22:42:01 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:03.166 UTC,,,82,,5c2d3ab1.52,699,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2319) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:03.166 UTC,,,82,,5c2d3ab1.52,700,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:03.166 UTC,"postgres","postgres",2323,"[local]",5c2d3e37.913,3,"idle",2019-01-02 22:41:59 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:42:03.177 UTC,,,82,,5c2d3ab1.52,701,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:03.432 UTC,,,2329,,5c2d3e3b.919,1,,2019-01-02 22:42:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:03.487 UTC,,,2329,,5c2d3e3b.919,2,,2019-01-02 22:42:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:03.494 UTC,,,2329,,5c2d3e3b.919,3,,2019-01-02 22:42:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:03.611 UTC,,,2329,,5c2d3e3b.919,4,,2019-01-02 22:42:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:03.612 UTC,,,82,,5c2d3ab1.52,702,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:03.612 UTC,,,2329,,5c2d3e3b.919,5,,2019-01-02 22:42:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018268: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:03.688 UTC,,,2334,,5c2d3e3b.91e,1,,2019-01-02 22:42:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:06.180 UTC,,,2334,,5c2d3e3b.91e,2,,2019-01-02 22:42:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:06.180 UTC,,,2329,,5c2d3e3b.919,6,,2019-01-02 22:42:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/140182D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:06.557 UTC,,,2337,,5c2d3e3e.921,1,,2019-01-02 22:42:06 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:07.908 UTC,,,82,,5c2d3ab1.52,703,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2333) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:07.908 UTC,,,82,,5c2d3ab1.52,704,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:07.916 UTC,,,82,,5c2d3ab1.52,705,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:08.160 UTC,,,2338,,5c2d3e40.922,1,,2019-01-02 22:42:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:08.303 UTC,,,2338,,5c2d3e40.922,2,,2019-01-02 22:42:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:08.309 UTC,,,2338,,5c2d3e40.922,3,,2019-01-02 22:42:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:08.413 UTC,,,2338,,5c2d3e40.922,4,,2019-01-02 22:42:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:08.413 UTC,,,82,,5c2d3ab1.52,706,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:08.414 UTC,,,2338,,5c2d3e40.922,5,,2019-01-02 22:42:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/140182D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:08.487 UTC,,,2343,,5c2d3e40.927,1,,2019-01-02 22:42:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:09.012 UTC,,,2346,"[local]",5c2d3e41.92a,1,"",2019-01-02 22:42:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:09.013 UTC,"postgres","postgres",2346,"[local]",5c2d3e41.92a,2,"authentication",2019-01-02 22:42:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:11.302 UTC,,,2343,,5c2d3e40.927,2,,2019-01-02 22:42:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:11.302 UTC,,,2338,,5c2d3e40.922,6,,2019-01-02 22:42:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018348: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:11.756 UTC,,,2351,,5c2d3e43.92f,1,,2019-01-02 22:42:11 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:12.838 UTC,,,82,,5c2d3ab1.52,707,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2342) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:12.838 UTC,,,82,,5c2d3ab1.52,708,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:12.838 UTC,"postgres","postgres",2346,"[local]",5c2d3e41.92a,3,"idle",2019-01-02 22:42:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:42:12.845 UTC,,,82,,5c2d3ab1.52,709,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:13.255 UTC,,,2352,,5c2d3e45.930,1,,2019-01-02 22:42:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:13.313 UTC,,,2352,,5c2d3e45.930,2,,2019-01-02 22:42:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:13.318 UTC,,,2352,,5c2d3e45.930,3,,2019-01-02 22:42:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:13.631 UTC,,,2352,,5c2d3e45.930,4,,2019-01-02 22:42:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:13.632 UTC,,,82,,5c2d3ab1.52,710,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:13.632 UTC,,,2352,,5c2d3e45.930,5,,2019-01-02 22:42:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018348: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:13.692 UTC,,,2357,,5c2d3e45.935,1,,2019-01-02 22:42:13 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:16.482 UTC,,,2357,,5c2d3e45.935,2,,2019-01-02 22:42:13 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:16.483 UTC,,,2352,,5c2d3e45.930,6,,2019-01-02 22:42:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/140183B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:16.955 UTC,,,2360,,5c2d3e48.938,1,,2019-01-02 22:42:16 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:18.111 UTC,,,82,,5c2d3ab1.52,711,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2356) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:18.111 UTC,,,82,,5c2d3ab1.52,712,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:18.119 UTC,,,82,,5c2d3ab1.52,713,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:18.560 UTC,,,2362,"[local]",5c2d3e4a.93a,1,"",2019-01-02 22:42:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:18.560 UTC,"postgres","postgres",2362,"[local]",5c2d3e4a.93a,2,"",2019-01-02 22:42:18 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:18.565 UTC,,,2361,,5c2d3e4a.939,1,,2019-01-02 22:42:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:18.582 UTC,,,2364,"[local]",5c2d3e4a.93c,1,"",2019-01-02 22:42:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:18.582 UTC,"postgres","postgres",2364,"[local]",5c2d3e4a.93c,2,"",2019-01-02 22:42:18 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:18.778 UTC,,,2361,,5c2d3e4a.939,2,,2019-01-02 22:42:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:18.786 UTC,,,2361,,5c2d3e4a.939,3,,2019-01-02 22:42:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:18.871 UTC,,,2372,"[local]",5c2d3e4a.944,1,"",2019-01-02 22:42:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:18.871 UTC,"postgres","postgres",2372,"[local]",5c2d3e4a.944,2,"",2019-01-02 22:42:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:42:18.878 UTC,,,2373,"[local]",5c2d3e4a.945,1,"",2019-01-02 22:42:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:18.878 UTC,"postgres","postgres",2373,"[local]",5c2d3e4a.945,2,"",2019-01-02 22:42:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:42:18.985 UTC,,,2361,,5c2d3e4a.939,4,,2019-01-02 22:42:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:18.985 UTC,,,82,,5c2d3ab1.52,714,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:18.986 UTC,,,2361,,5c2d3e4a.939,5,,2019-01-02 22:42:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/140183B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:19.092 UTC,,,2376,,5c2d3e4a.948,1,,2019-01-02 22:42:18 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:19.753 UTC,,,2379,"[local]",5c2d3e4b.94b,1,"",2019-01-02 22:42:19 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:19.754 UTC,"postgres","postgres",2379,"[local]",5c2d3e4b.94b,2,"authentication",2019-01-02 22:42:19 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:21.477 UTC,,,2376,,5c2d3e4a.948,2,,2019-01-02 22:42:18 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:21.477 UTC,,,2361,,5c2d3e4a.939,6,,2019-01-02 22:42:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018428: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:21.723 UTC,,,2384,,5c2d3e4d.950,1,,2019-01-02 22:42:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:23.447 UTC,,,82,,5c2d3ab1.52,715,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2375) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:23.448 UTC,,,82,,5c2d3ab1.52,716,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:23.448 UTC,"postgres","postgres",2379,"[local]",5c2d3e4b.94b,3,"idle",2019-01-02 22:42:19 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:42:23.458 UTC,,,82,,5c2d3ab1.52,717,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:23.959 UTC,,,2385,,5c2d3e4f.951,1,,2019-01-02 22:42:23 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:24.061 UTC,,,2385,,5c2d3e4f.951,2,,2019-01-02 22:42:23 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:24.067 UTC,,,2385,,5c2d3e4f.951,3,,2019-01-02 22:42:23 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:24.245 UTC,,,2385,,5c2d3e4f.951,4,,2019-01-02 22:42:23 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:24.246 UTC,,,82,,5c2d3ab1.52,718,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:24.247 UTC,,,2385,,5c2d3e4f.951,5,,2019-01-02 22:42:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018428: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:24.290 UTC,,,2390,,5c2d3e50.956,1,,2019-01-02 22:42:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:26.553 UTC,,,2390,,5c2d3e50.956,2,,2019-01-02 22:42:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:26.553 UTC,,,2385,,5c2d3e4f.951,6,,2019-01-02 22:42:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018498: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:27.091 UTC,,,2393,,5c2d3e52.959,1,,2019-01-02 22:42:26 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:28.773 UTC,,,2395,"[local]",5c2d3e54.95b,1,"",2019-01-02 22:42:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:28.774 UTC,"postgres","postgres",2395,"[local]",5c2d3e54.95b,2,"authentication",2019-01-02 22:42:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:28.780 UTC,"postgres","postgres",2395,"[local]",5c2d3e54.95b,3,"idle",2019-01-02 22:42:28 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.006 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:42:28.922 UTC,,,82,,5c2d3ab1.52,719,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2389) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:28.922 UTC,,,82,,5c2d3ab1.52,720,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:28.929 UTC,,,82,,5c2d3ab1.52,721,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:29.354 UTC,,,2396,,5c2d3e55.95c,1,,2019-01-02 22:42:29 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:29.413 UTC,,,2396,,5c2d3e55.95c,2,,2019-01-02 22:42:29 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:29.420 UTC,,,2396,,5c2d3e55.95c,3,,2019-01-02 22:42:29 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:29.582 UTC,,,2396,,5c2d3e55.95c,4,,2019-01-02 22:42:29 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:29.583 UTC,,,82,,5c2d3ab1.52,722,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:29.584 UTC,,,2396,,5c2d3e55.95c,5,,2019-01-02 22:42:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018498: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:29.673 UTC,,,2404,"[local]",5c2d3e55.964,1,"",2019-01-02 22:42:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:29.673 UTC,"postgres","postgres",2404,"[local]",5c2d3e55.964,2,"authentication",2019-01-02 22:42:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:29.698 UTC,,,2401,,5c2d3e55.961,1,,2019-01-02 22:42:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:31.798 UTC,,,2401,,5c2d3e55.961,2,,2019-01-02 22:42:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:31.799 UTC,,,2396,,5c2d3e55.95c,6,,2019-01-02 22:42:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018508: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:32.280 UTC,,,2409,,5c2d3e57.969,1,,2019-01-02 22:42:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:34.138 UTC,,,82,,5c2d3ab1.52,723,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2400) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:34.138 UTC,,,82,,5c2d3ab1.52,724,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:34.138 UTC,"postgres","postgres",2404,"[local]",5c2d3e55.964,3,"idle",2019-01-02 22:42:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:42:34.149 UTC,,,82,,5c2d3ab1.52,725,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:34.454 UTC,,,2410,,5c2d3e5a.96a,1,,2019-01-02 22:42:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:34.514 UTC,,,2410,,5c2d3e5a.96a,2,,2019-01-02 22:42:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:34.520 UTC,,,2410,,5c2d3e5a.96a,3,,2019-01-02 22:42:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:34.618 UTC,,,2410,,5c2d3e5a.96a,4,,2019-01-02 22:42:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:34.618 UTC,,,82,,5c2d3ab1.52,726,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:34.619 UTC,,,2410,,5c2d3e5a.96a,5,,2019-01-02 22:42:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018508: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:34.688 UTC,,,2415,,5c2d3e5a.96f,1,,2019-01-02 22:42:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:37.239 UTC,,,2415,,5c2d3e5a.96f,2,,2019-01-02 22:42:34 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:37.239 UTC,,,2410,,5c2d3e5a.96a,6,,2019-01-02 22:42:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018578: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:37.606 UTC,,,2418,,5c2d3e5d.972,1,,2019-01-02 22:42:37 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:39.071 UTC,,,82,,5c2d3ab1.52,727,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2414) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:39.071 UTC,,,82,,5c2d3ab1.52,728,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:39.079 UTC,,,82,,5c2d3ab1.52,729,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:39.463 UTC,,,2420,"[local]",5c2d3e5f.974,1,"",2019-01-02 22:42:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:39.463 UTC,"postgres","postgres",2420,"[local]",5c2d3e5f.974,2,"",2019-01-02 22:42:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:39.467 UTC,,,2419,,5c2d3e5f.973,1,,2019-01-02 22:42:39 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:39.481 UTC,,,2422,"[local]",5c2d3e5f.976,1,"",2019-01-02 22:42:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:39.481 UTC,"postgres","postgres",2422,"[local]",5c2d3e5f.976,2,"",2019-01-02 22:42:39 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:39.615 UTC,,,2419,,5c2d3e5f.973,2,,2019-01-02 22:42:39 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:39.624 UTC,,,2419,,5c2d3e5f.973,3,,2019-01-02 22:42:39 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:39.753 UTC,,,2419,,5c2d3e5f.973,4,,2019-01-02 22:42:39 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:39.754 UTC,,,82,,5c2d3ab1.52,730,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:39.755 UTC,,,2419,,5c2d3e5f.973,5,,2019-01-02 22:42:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018578: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:39.790 UTC,,,2431,,5c2d3e5f.97f,1,,2019-01-02 22:42:39 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:43.053 UTC,,,2431,,5c2d3e5f.97f,2,,2019-01-02 22:42:39 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:43.055 UTC,,,2419,,5c2d3e5f.973,6,,2019-01-02 22:42:39 UTC,1/0,0,LOG,00000,"invalid record length at 0/140185E8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:43.279 UTC,,,2434,,5c2d3e63.982,1,,2019-01-02 22:42:43 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:44.347 UTC,,,82,,5c2d3ab1.52,731,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2430) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:44.347 UTC,,,82,,5c2d3ab1.52,732,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:44.357 UTC,,,82,,5c2d3ab1.52,733,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:44.654 UTC,,,2435,,5c2d3e64.983,1,,2019-01-02 22:42:44 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:44.721 UTC,,,2435,,5c2d3e64.983,2,,2019-01-02 22:42:44 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:44.727 UTC,,,2435,,5c2d3e64.983,3,,2019-01-02 22:42:44 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:44.846 UTC,,,2435,,5c2d3e64.983,4,,2019-01-02 22:42:44 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:44.847 UTC,,,82,,5c2d3ab1.52,734,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:44.847 UTC,,,2435,,5c2d3e64.983,5,,2019-01-02 22:42:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/140185E8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:44.886 UTC,,,2440,,5c2d3e64.988,1,,2019-01-02 22:42:44 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:48.469 UTC,,,2444,"[local]",5c2d3e68.98c,1,"",2019-01-02 22:42:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:48.472 UTC,"postgres","postgres",2444,"[local]",5c2d3e68.98c,2,"authentication",2019-01-02 22:42:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:48.472 UTC,,,2440,,5c2d3e64.988,2,,2019-01-02 22:42:44 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:48.473 UTC,,,2435,,5c2d3e64.983,6,,2019-01-02 22:42:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018658: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:48.478 UTC,"postgres","postgres",2444,"[local]",5c2d3e68.98c,3,"idle",2019-01-02 22:42:48 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.009 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:42:48.554 UTC,,,2446,"[local]",5c2d3e68.98e,1,"",2019-01-02 22:42:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:48.557 UTC,"postgres","postgres",2446,"[local]",5c2d3e68.98e,2,"authentication",2019-01-02 22:42:48 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:49.053 UTC,,,2445,,5c2d3e68.98d,1,,2019-01-02 22:42:48 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:49.627 UTC,,,82,,5c2d3ab1.52,735,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2439) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:49.627 UTC,,,82,,5c2d3ab1.52,736,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:49.627 UTC,"postgres","postgres",2446,"[local]",5c2d3e68.98e,3,"idle",2019-01-02 22:42:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:42:49.635 UTC,,,82,,5c2d3ab1.52,737,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:50.160 UTC,,,2451,,5c2d3e6a.993,1,,2019-01-02 22:42:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:50.495 UTC,,,2451,,5c2d3e6a.993,2,,2019-01-02 22:42:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:50.503 UTC,,,2451,,5c2d3e6a.993,3,,2019-01-02 22:42:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:50.623 UTC,,,2451,,5c2d3e6a.993,4,,2019-01-02 22:42:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:50.623 UTC,,,82,,5c2d3ab1.52,738,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:50.624 UTC,,,2451,,5c2d3e6a.993,5,,2019-01-02 22:42:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018658: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:50.686 UTC,,,2456,,5c2d3e6a.998,1,,2019-01-02 22:42:50 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:53.658 UTC,,,2456,,5c2d3e6a.998,2,,2019-01-02 22:42:50 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:53.753 UTC,,,2451,,5c2d3e6a.993,6,,2019-01-02 22:42:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/140186C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:54.183 UTC,,,2459,,5c2d3e6d.99b,1,,2019-01-02 22:42:53 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:42:55.262 UTC,,,82,,5c2d3ab1.52,739,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2455) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:42:55.263 UTC,,,82,,5c2d3ab1.52,740,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:42:55.271 UTC,,,82,,5c2d3ab1.52,741,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:42:55.653 UTC,,,2464,,5c2d3e6f.9a0,1,,2019-01-02 22:42:55 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:42:55.727 UTC,,,2464,,5c2d3e6f.9a0,2,,2019-01-02 22:42:55 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:42:55.733 UTC,,,2464,,5c2d3e6f.9a0,3,,2019-01-02 22:42:55 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:42:55.811 UTC,,,2464,,5c2d3e6f.9a0,4,,2019-01-02 22:42:55 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:42:55.812 UTC,,,82,,5c2d3ab1.52,742,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:42:55.812 UTC,,,2464,,5c2d3e6f.9a0,5,,2019-01-02 22:42:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/140186C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:55.887 UTC,,,2469,,5c2d3e6f.9a5,1,,2019-01-02 22:42:55 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:42:58.497 UTC,,,2472,"[local]",5c2d3e72.9a8,1,"",2019-01-02 22:42:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:42:58.498 UTC,"postgres","postgres",2472,"[local]",5c2d3e72.9a8,2,"authentication",2019-01-02 22:42:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:42:58.953 UTC,,,2469,,5c2d3e6f.9a5,2,,2019-01-02 22:42:55 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:42:58.955 UTC,,,2464,,5c2d3e6f.9a0,6,,2019-01-02 22:42:55 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018738: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:42:59.453 UTC,,,2477,,5c2d3e72.9ad,1,,2019-01-02 22:42:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:00.455 UTC,,,82,,5c2d3ab1.52,743,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2468) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:00.455 UTC,,,82,,5c2d3ab1.52,744,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:00.456 UTC,"postgres","postgres",2472,"[local]",5c2d3e72.9a8,3,"idle",2019-01-02 22:42:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:00.464 UTC,,,82,,5c2d3ab1.52,745,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:00.854 UTC,,,2478,,5c2d3e74.9ae,1,,2019-01-02 22:43:00 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:00.922 UTC,,,2478,,5c2d3e74.9ae,2,,2019-01-02 22:43:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:00.954 UTC,,,2478,,5c2d3e74.9ae,3,,2019-01-02 22:43:00 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:01.058 UTC,,,2478,,5c2d3e74.9ae,4,,2019-01-02 22:43:00 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:01.058 UTC,,,82,,5c2d3ab1.52,746,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:01.059 UTC,,,2478,,5c2d3e74.9ae,5,,2019-01-02 22:43:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018738: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:01.088 UTC,,,2483,,5c2d3e75.9b3,1,,2019-01-02 22:43:01 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:04.253 UTC,,,2483,,5c2d3e75.9b3,2,,2019-01-02 22:43:01 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:04.256 UTC,,,2478,,5c2d3e74.9ae,6,,2019-01-02 22:43:00 UTC,1/0,0,LOG,00000,"invalid record length at 0/140187A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:04.753 UTC,,,2486,,5c2d3e78.9b6,1,,2019-01-02 22:43:04 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:05.571 UTC,,,82,,5c2d3ab1.52,747,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2482) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:05.571 UTC,,,82,,5c2d3ab1.52,748,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:05.579 UTC,,,82,,5c2d3ab1.52,749,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:06.065 UTC,,,2487,,5c2d3e7a.9b7,1,,2019-01-02 22:43:06 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:06.157 UTC,,,2487,,5c2d3e7a.9b7,2,,2019-01-02 22:43:06 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:06.163 UTC,,,2487,,5c2d3e7a.9b7,3,,2019-01-02 22:43:06 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:06.221 UTC,,,2487,,5c2d3e7a.9b7,4,,2019-01-02 22:43:06 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:06.222 UTC,,,82,,5c2d3ab1.52,750,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:06.223 UTC,,,2487,,5c2d3e7a.9b7,5,,2019-01-02 22:43:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/140187A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:06.287 UTC,,,2492,,5c2d3e7a.9bc,1,,2019-01-02 22:43:06 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:08.853 UTC,,,2495,"[local]",5c2d3e7c.9bf,1,"",2019-01-02 22:43:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:08.854 UTC,"postgres","postgres",2495,"[local]",5c2d3e7c.9bf,2,"authentication",2019-01-02 22:43:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:09.455 UTC,,,2492,,5c2d3e7a.9bc,2,,2019-01-02 22:43:06 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:09.457 UTC,,,2487,,5c2d3e7a.9b7,6,,2019-01-02 22:43:06 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018818: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:09.953 UTC,,,2500,,5c2d3e7d.9c4,1,,2019-01-02 22:43:09 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:10.694 UTC,,,82,,5c2d3ab1.52,751,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2491) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:10.694 UTC,,,82,,5c2d3ab1.52,752,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:10.695 UTC,"postgres","postgres",2495,"[local]",5c2d3e7c.9bf,3,"idle",2019-01-02 22:43:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:10.702 UTC,,,82,,5c2d3ab1.52,753,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:10.958 UTC,,,2501,,5c2d3e7e.9c5,1,,2019-01-02 22:43:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:11.055 UTC,,,2501,,5c2d3e7e.9c5,2,,2019-01-02 22:43:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:11.062 UTC,,,2501,,5c2d3e7e.9c5,3,,2019-01-02 22:43:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:11.235 UTC,,,2501,,5c2d3e7e.9c5,4,,2019-01-02 22:43:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:11.236 UTC,,,82,,5c2d3ab1.52,754,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:11.237 UTC,,,2501,,5c2d3e7e.9c5,5,,2019-01-02 22:43:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018818: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:11.286 UTC,,,2506,,5c2d3e7f.9ca,1,,2019-01-02 22:43:11 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:14.753 UTC,,,2506,,5c2d3e7f.9ca,2,,2019-01-02 22:43:11 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:14.762 UTC,,,2501,,5c2d3e7e.9c5,6,,2019-01-02 22:43:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018888: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:15.282 UTC,,,2509,,5c2d3e82.9cd,1,,2019-01-02 22:43:14 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:15.837 UTC,,,82,,5c2d3ab1.52,755,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2505) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:15.837 UTC,,,82,,5c2d3ab1.52,756,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:15.845 UTC,,,82,,5c2d3ab1.52,757,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:16.154 UTC,,,2510,,5c2d3e84.9ce,1,,2019-01-02 22:43:16 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:16.211 UTC,,,2510,,5c2d3e84.9ce,2,,2019-01-02 22:43:16 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:16.253 UTC,,,2510,,5c2d3e84.9ce,3,,2019-01-02 22:43:16 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:16.354 UTC,,,2510,,5c2d3e84.9ce,4,,2019-01-02 22:43:16 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:16.354 UTC,,,82,,5c2d3ab1.52,758,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:16.355 UTC,,,2510,,5c2d3e84.9ce,5,,2019-01-02 22:43:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018888: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:16.391 UTC,,,2515,,5c2d3e84.9d3,1,,2019-01-02 22:43:16 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:18.854 UTC,,,2518,"[local]",5c2d3e86.9d6,1,"",2019-01-02 22:43:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:18.855 UTC,"postgres","postgres",2518,"[local]",5c2d3e86.9d6,2,"authentication",2019-01-02 22:43:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:20.153 UTC,,,2515,,5c2d3e84.9d3,2,,2019-01-02 22:43:16 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:20.155 UTC,,,2510,,5c2d3e84.9ce,6,,2019-01-02 22:43:16 UTC,1/0,0,LOG,00000,"invalid record length at 0/140188F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:20.770 UTC,,,2527,,5c2d3e88.9df,1,,2019-01-02 22:43:20 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:20.927 UTC,,,82,,5c2d3ab1.52,759,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2514) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:20.927 UTC,,,82,,5c2d3ab1.52,760,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:20.927 UTC,"postgres","postgres",2518,"[local]",5c2d3e86.9d6,3,"idle",2019-01-02 22:43:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:20.939 UTC,,,82,,5c2d3ab1.52,761,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:21.459 UTC,,,2528,,5c2d3e89.9e0,1,,2019-01-02 22:43:21 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:21.530 UTC,,,2528,,5c2d3e89.9e0,2,,2019-01-02 22:43:21 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:21.554 UTC,,,2528,,5c2d3e89.9e0,3,,2019-01-02 22:43:21 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:21.613 UTC,,,2528,,5c2d3e89.9e0,4,,2019-01-02 22:43:21 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:21.614 UTC,,,82,,5c2d3ab1.52,762,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:21.614 UTC,,,2528,,5c2d3e89.9e0,5,,2019-01-02 22:43:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/140188F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:21.666 UTC,,,2533,,5c2d3e89.9e5,1,,2019-01-02 22:43:21 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:25.753 UTC,,,2533,,5c2d3e89.9e5,2,,2019-01-02 22:43:21 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:25.755 UTC,,,2528,,5c2d3e89.9e0,6,,2019-01-02 22:43:21 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018968: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:26.080 UTC,,,2536,,5c2d3e8d.9e8,1,,2019-01-02 22:43:25 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:26.130 UTC,,,82,,5c2d3ab1.52,763,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2532) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:26.130 UTC,,,82,,5c2d3ab1.52,764,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:26.138 UTC,,,82,,5c2d3ab1.52,765,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:26.454 UTC,,,2537,,5c2d3e8e.9e9,1,,2019-01-02 22:43:26 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:26.511 UTC,,,2537,,5c2d3e8e.9e9,2,,2019-01-02 22:43:26 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:26.517 UTC,,,2537,,5c2d3e8e.9e9,3,,2019-01-02 22:43:26 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:26.611 UTC,,,2537,,5c2d3e8e.9e9,4,,2019-01-02 22:43:26 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:26.612 UTC,,,82,,5c2d3ab1.52,766,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:26.612 UTC,,,2537,,5c2d3e8e.9e9,5,,2019-01-02 22:43:26 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018968: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:26.671 UTC,,,2542,,5c2d3e8e.9ee,1,,2019-01-02 22:43:26 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:28.754 UTC,,,2545,"[local]",5c2d3e90.9f1,1,"",2019-01-02 22:43:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:28.755 UTC,"postgres","postgres",2545,"[local]",5c2d3e90.9f1,2,"authentication",2019-01-02 22:43:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:31.229 UTC,,,82,,5c2d3ab1.52,767,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2541) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:31.229 UTC,,,82,,5c2d3ab1.52,768,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:31.229 UTC,"postgres","postgres",2545,"[local]",5c2d3e90.9f1,3,"idle",2019-01-02 22:43:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:31.239 UTC,,,82,,5c2d3ab1.52,769,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:31.554 UTC,,,2550,,5c2d3e93.9f6,1,,2019-01-02 22:43:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:31.615 UTC,,,2550,,5c2d3e93.9f6,2,,2019-01-02 22:43:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:31.653 UTC,,,2550,,5c2d3e93.9f6,3,,2019-01-02 22:43:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:31.720 UTC,,,2550,,5c2d3e93.9f6,4,,2019-01-02 22:43:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:31.721 UTC,,,82,,5c2d3ab1.52,770,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:31.722 UTC,,,2550,,5c2d3e93.9f6,5,,2019-01-02 22:43:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/140189D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:31.768 UTC,,,2555,,5c2d3e93.9fb,1,,2019-01-02 22:43:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:31.789 UTC,,,2558,,5c2d3e93.9fe,1,,2019-01-02 22:43:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:36.338 UTC,,,82,,5c2d3ab1.52,771,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2554) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:36.338 UTC,,,82,,5c2d3ab1.52,772,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:36.346 UTC,,,82,,5c2d3ab1.52,773,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:36.858 UTC,,,2559,,5c2d3e98.9ff,1,,2019-01-02 22:43:36 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:36.959 UTC,,,2559,,5c2d3e98.9ff,2,,2019-01-02 22:43:36 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:36.985 UTC,,,2559,,5c2d3e98.9ff,3,,2019-01-02 22:43:36 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:37.065 UTC,,,2559,,5c2d3e98.9ff,4,,2019-01-02 22:43:36 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:37.066 UTC,,,82,,5c2d3ab1.52,774,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:37.066 UTC,,,2559,,5c2d3e98.9ff,5,,2019-01-02 22:43:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/140189D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:37.098 UTC,,,2564,,5c2d3e99.a04,1,,2019-01-02 22:43:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:38.853 UTC,,,2567,"[local]",5c2d3e9a.a07,1,"",2019-01-02 22:43:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:38.854 UTC,"postgres","postgres",2567,"[local]",5c2d3e9a.a07,2,"authentication",2019-01-02 22:43:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:41.543 UTC,,,82,,5c2d3ab1.52,775,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2563) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:41.543 UTC,,,82,,5c2d3ab1.52,776,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:41.543 UTC,"postgres","postgres",2567,"[local]",5c2d3e9a.a07,3,"idle",2019-01-02 22:43:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:41.554 UTC,,,82,,5c2d3ab1.52,777,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:41.859 UTC,,,2572,,5c2d3e9d.a0c,1,,2019-01-02 22:43:41 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:41.994 UTC,,,2572,,5c2d3e9d.a0c,2,,2019-01-02 22:43:41 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:42.046 UTC,,,2572,,5c2d3e9d.a0c,3,,2019-01-02 22:43:41 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:42.135 UTC,,,2572,,5c2d3e9d.a0c,4,,2019-01-02 22:43:41 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:42.136 UTC,,,82,,5c2d3ab1.52,778,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:42.137 UTC,,,2572,,5c2d3e9d.a0c,5,,2019-01-02 22:43:41 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018AB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:42.200 UTC,,,2577,,5c2d3e9e.a11,1,,2019-01-02 22:43:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:42.279 UTC,,,2580,,5c2d3e9e.a14,1,,2019-01-02 22:43:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:46.642 UTC,,,82,,5c2d3ab1.52,779,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2576) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:46.642 UTC,,,82,,5c2d3ab1.52,780,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:46.650 UTC,,,82,,5c2d3ab1.52,781,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:47.166 UTC,,,2581,,5c2d3ea3.a15,1,,2019-01-02 22:43:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:47.269 UTC,,,2581,,5c2d3ea3.a15,2,,2019-01-02 22:43:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:47.278 UTC,,,2581,,5c2d3ea3.a15,3,,2019-01-02 22:43:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:47.419 UTC,,,2581,,5c2d3ea3.a15,4,,2019-01-02 22:43:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:47.419 UTC,,,82,,5c2d3ab1.52,782,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:47.420 UTC,,,2581,,5c2d3ea3.a15,5,,2019-01-02 22:43:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018AB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:47.653 UTC,,,2586,,5c2d3ea3.a1a,1,,2019-01-02 22:43:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:47.691 UTC,,,2589,,5c2d3ea3.a1d,1,,2019-01-02 22:43:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:48.754 UTC,,,2590,"[local]",5c2d3ea4.a1e,1,"",2019-01-02 22:43:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:48.754 UTC,"postgres","postgres",2590,"[local]",5c2d3ea4.a1e,2,"authentication",2019-01-02 22:43:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:51.887 UTC,,,82,,5c2d3ab1.52,783,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2585) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:51.887 UTC,,,82,,5c2d3ab1.52,784,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:51.887 UTC,"postgres","postgres",2590,"[local]",5c2d3ea4.a1e,3,"idle",2019-01-02 22:43:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:43:51.898 UTC,,,82,,5c2d3ab1.52,785,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:52.153 UTC,,,2599,,5c2d3ea8.a27,1,,2019-01-02 22:43:52 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:52.211 UTC,,,2599,,5c2d3ea8.a27,2,,2019-01-02 22:43:52 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:52.216 UTC,,,2599,,5c2d3ea8.a27,3,,2019-01-02 22:43:52 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:52.345 UTC,,,2599,,5c2d3ea8.a27,4,,2019-01-02 22:43:52 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:52.346 UTC,,,82,,5c2d3ab1.52,786,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:52.347 UTC,,,2599,,5c2d3ea8.a27,5,,2019-01-02 22:43:52 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018AB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:52.389 UTC,,,2604,,5c2d3ea8.a2c,1,,2019-01-02 22:43:52 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:52.793 UTC,,,2604,,5c2d3ea8.a2c,2,,2019-01-02 22:43:52 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:52.793 UTC,,,2599,,5c2d3ea8.a27,6,,2019-01-02 22:43:52 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018B98: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:52.999 UTC,,,2607,,5c2d3ea8.a2f,1,,2019-01-02 22:43:52 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:56.868 UTC,,,82,,5c2d3ab1.52,787,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2603) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:43:56.868 UTC,,,82,,5c2d3ab1.52,788,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:43:56.874 UTC,,,82,,5c2d3ab1.52,789,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:43:57.150 UTC,,,2612,,5c2d3ead.a34,1,,2019-01-02 22:43:57 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:43:57.200 UTC,,,2612,,5c2d3ead.a34,2,,2019-01-02 22:43:57 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:43:57.206 UTC,,,2612,,5c2d3ead.a34,3,,2019-01-02 22:43:57 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:43:57.311 UTC,,,2612,,5c2d3ead.a34,4,,2019-01-02 22:43:57 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:43:57.312 UTC,,,82,,5c2d3ab1.52,790,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:43:57.312 UTC,,,2612,,5c2d3ead.a34,5,,2019-01-02 22:43:57 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018B98: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:57.384 UTC,,,2617,,5c2d3ead.a39,1,,2019-01-02 22:43:57 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:43:58.191 UTC,,,2617,,5c2d3ead.a39,2,,2019-01-02 22:43:57 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:43:58.191 UTC,,,2612,,5c2d3ead.a34,6,,2019-01-02 22:43:57 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018C08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:43:58.421 UTC,,,2620,,5c2d3eae.a3c,1,,2019-01-02 22:43:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:43:58.748 UTC,,,2621,"[local]",5c2d3eae.a3d,1,"",2019-01-02 22:43:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:43:58.749 UTC,"postgres","postgres",2621,"[local]",5c2d3eae.a3d,2,"authentication",2019-01-02 22:43:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:43:58.752 UTC,,,2622,"127.0.0.1:49394",5c2d3eae.a3e,1,"",2019-01-02 22:43:58 UTC,,0,LOG,00000,"connection received: host=127.0.0.1 port=49394",,,,,,,,,""
2019-01-02 22:43:58.755 UTC,"standby","",2622,"127.0.0.1:49394",5c2d3eae.a3e,2,"authentication",2019-01-02 22:43:58 UTC,4/1,0,LOG,00000,"replication connection authorized: user=standby SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)",,,,,,,,,""
2019-01-02 22:43:58.757 UTC,"standby","",2622,"127.0.0.1:49394",5c2d3eae.a3e,3,"idle",2019-01-02 22:43:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.004 user=standby database= host=127.0.0.1 port=49394",,,,,,,,,""
2019-01-02 22:44:01.856 UTC,,,82,,5c2d3ab1.52,791,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2616) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:01.856 UTC,,,82,,5c2d3ab1.52,792,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:01.856 UTC,"postgres","postgres",2621,"[local]",5c2d3eae.a3d,3,"idle",2019-01-02 22:43:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:01.867 UTC,,,82,,5c2d3ab1.52,793,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:02.110 UTC,,,2627,,5c2d3eb2.a43,1,,2019-01-02 22:44:02 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:02.174 UTC,,,2627,,5c2d3eb2.a43,2,,2019-01-02 22:44:02 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:02.191 UTC,,,2627,,5c2d3eb2.a43,3,,2019-01-02 22:44:02 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:02.309 UTC,,,2627,,5c2d3eb2.a43,4,,2019-01-02 22:44:02 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:02.310 UTC,,,82,,5c2d3ab1.52,794,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:02.310 UTC,,,2627,,5c2d3eb2.a43,5,,2019-01-02 22:44:02 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018C08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:02.398 UTC,,,2632,,5c2d3eb2.a48,1,,2019-01-02 22:44:02 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:03.343 UTC,,,2632,,5c2d3eb2.a48,2,,2019-01-02 22:44:02 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:03.343 UTC,,,2627,,5c2d3eb2.a43,6,,2019-01-02 22:44:02 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018C78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:03.753 UTC,,,2635,,5c2d3eb3.a4b,1,,2019-01-02 22:44:03 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:06.814 UTC,,,82,,5c2d3ab1.52,795,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2631) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:06.814 UTC,,,82,,5c2d3ab1.52,796,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:06.820 UTC,,,82,,5c2d3ab1.52,797,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:07.054 UTC,,,2636,,5c2d3eb7.a4c,1,,2019-01-02 22:44:07 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:07.121 UTC,,,2636,,5c2d3eb7.a4c,2,,2019-01-02 22:44:07 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:07.128 UTC,,,2636,,5c2d3eb7.a4c,3,,2019-01-02 22:44:07 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:07.276 UTC,,,2636,,5c2d3eb7.a4c,4,,2019-01-02 22:44:07 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:07.277 UTC,,,82,,5c2d3ab1.52,798,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:07.277 UTC,,,2636,,5c2d3eb7.a4c,5,,2019-01-02 22:44:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018C78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:07.305 UTC,,,2641,,5c2d3eb7.a51,1,,2019-01-02 22:44:07 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:08.410 UTC,,,2644,"[local]",5c2d3eb8.a54,1,"",2019-01-02 22:44:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:08.410 UTC,"postgres","postgres",2644,"[local]",5c2d3eb8.a54,2,"authentication",2019-01-02 22:44:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:44:08.711 UTC,,,2641,,5c2d3eb7.a51,2,,2019-01-02 22:44:07 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:08.713 UTC,,,2636,,5c2d3eb7.a4c,6,,2019-01-02 22:44:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018CE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:08.918 UTC,,,2649,,5c2d3eb8.a59,1,,2019-01-02 22:44:08 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:11.811 UTC,,,82,,5c2d3ab1.52,799,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2640) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:11.811 UTC,,,82,,5c2d3ab1.52,800,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:11.811 UTC,"postgres","postgres",2644,"[local]",5c2d3eb8.a54,3,"idle",2019-01-02 22:44:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:11.823 UTC,,,82,,5c2d3ab1.52,801,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:12.154 UTC,,,2650,,5c2d3ebc.a5a,1,,2019-01-02 22:44:12 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:12.222 UTC,,,2650,,5c2d3ebc.a5a,2,,2019-01-02 22:44:12 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:12.258 UTC,,,2650,,5c2d3ebc.a5a,3,,2019-01-02 22:44:12 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:12.331 UTC,,,2650,,5c2d3ebc.a5a,4,,2019-01-02 22:44:12 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:12.353 UTC,,,82,,5c2d3ab1.52,802,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:12.354 UTC,,,2650,,5c2d3ebc.a5a,5,,2019-01-02 22:44:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018CE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:12.393 UTC,,,2655,,5c2d3ebc.a5f,1,,2019-01-02 22:44:12 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:13.953 UTC,,,2655,,5c2d3ebc.a5f,2,,2019-01-02 22:44:12 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:13.953 UTC,,,2650,,5c2d3ebc.a5a,6,,2019-01-02 22:44:12 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018D58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:14.258 UTC,,,2658,,5c2d3ebd.a62,1,,2019-01-02 22:44:13 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:16.677 UTC,,,82,,5c2d3ab1.52,803,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2654) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:16.677 UTC,,,82,,5c2d3ab1.52,804,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:16.683 UTC,,,82,,5c2d3ab1.52,805,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:17.256 UTC,,,2659,,5c2d3ec1.a63,1,,2019-01-02 22:44:17 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:17.312 UTC,,,2659,,5c2d3ec1.a63,2,,2019-01-02 22:44:17 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:17.317 UTC,,,2659,,5c2d3ec1.a63,3,,2019-01-02 22:44:17 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:17.460 UTC,,,2659,,5c2d3ec1.a63,4,,2019-01-02 22:44:17 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:17.461 UTC,,,82,,5c2d3ab1.52,806,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:17.462 UTC,,,2659,,5c2d3ec1.a63,5,,2019-01-02 22:44:17 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018D58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:17.494 UTC,,,2664,,5c2d3ec1.a68,1,,2019-01-02 22:44:17 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:19.153 UTC,,,2667,"[local]",5c2d3ec3.a6b,1,"",2019-01-02 22:44:19 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:19.154 UTC,"postgres","postgres",2667,"[local]",5c2d3ec3.a6b,2,"authentication",2019-01-02 22:44:19 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:44:19.220 UTC,,,2664,,5c2d3ec1.a68,2,,2019-01-02 22:44:17 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:19.221 UTC,,,2659,,5c2d3ec1.a63,6,,2019-01-02 22:44:17 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018DC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:19.787 UTC,,,2672,,5c2d3ec3.a70,1,,2019-01-02 22:44:19 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:21.896 UTC,,,82,,5c2d3ab1.52,807,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2663) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:21.896 UTC,,,82,,5c2d3ab1.52,808,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:21.896 UTC,"postgres","postgres",2667,"[local]",5c2d3ec3.a6b,3,"idle",2019-01-02 22:44:19 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:21.907 UTC,,,82,,5c2d3ab1.52,809,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:22.256 UTC,,,2673,,5c2d3ec6.a71,1,,2019-01-02 22:44:22 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:22.316 UTC,,,2673,,5c2d3ec6.a71,2,,2019-01-02 22:44:22 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:22.321 UTC,,,2673,,5c2d3ec6.a71,3,,2019-01-02 22:44:22 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:22.407 UTC,,,2673,,5c2d3ec6.a71,4,,2019-01-02 22:44:22 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:22.408 UTC,,,82,,5c2d3ab1.52,810,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:22.408 UTC,,,2673,,5c2d3ec6.a71,5,,2019-01-02 22:44:22 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018DC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:22.487 UTC,,,2678,,5c2d3ec6.a76,1,,2019-01-02 22:44:22 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:24.624 UTC,,,2678,,5c2d3ec6.a76,2,,2019-01-02 22:44:22 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:24.624 UTC,,,2673,,5c2d3ec6.a71,6,,2019-01-02 22:44:22 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018E38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:25.053 UTC,,,2681,,5c2d3ec8.a79,1,,2019-01-02 22:44:24 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:26.906 UTC,,,82,,5c2d3ab1.52,811,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2677) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:26.906 UTC,,,82,,5c2d3ab1.52,812,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:26.912 UTC,,,82,,5c2d3ab1.52,813,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:27.357 UTC,,,2682,,5c2d3ecb.a7a,1,,2019-01-02 22:44:27 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:27.413 UTC,,,2682,,5c2d3ecb.a7a,2,,2019-01-02 22:44:27 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:27.453 UTC,,,2682,,5c2d3ecb.a7a,3,,2019-01-02 22:44:27 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:27.558 UTC,,,2682,,5c2d3ecb.a7a,4,,2019-01-02 22:44:27 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:27.558 UTC,,,82,,5c2d3ab1.52,814,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:27.559 UTC,,,2682,,5c2d3ecb.a7a,5,,2019-01-02 22:44:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018E38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:27.583 UTC,,,2687,,5c2d3ecb.a7f,1,,2019-01-02 22:44:27 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:28.509 UTC,,,2690,"[local]",5c2d3ecc.a82,1,"",2019-01-02 22:44:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:28.510 UTC,"postgres","postgres",2690,"[local]",5c2d3ecc.a82,2,"authentication",2019-01-02 22:44:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:44:29.873 UTC,,,2687,,5c2d3ecb.a7f,2,,2019-01-02 22:44:27 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:29.873 UTC,,,2682,,5c2d3ecb.a7a,6,,2019-01-02 22:44:27 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018EA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:30.298 UTC,,,2695,,5c2d3ecd.a87,1,,2019-01-02 22:44:29 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:32.148 UTC,,,82,,5c2d3ab1.52,815,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2686) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:32.148 UTC,,,82,,5c2d3ab1.52,816,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:32.149 UTC,"postgres","postgres",2690,"[local]",5c2d3ecc.a82,3,"idle",2019-01-02 22:44:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:32.160 UTC,,,82,,5c2d3ab1.52,817,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:32.757 UTC,,,2696,,5c2d3ed0.a88,1,,2019-01-02 22:44:32 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:32.812 UTC,,,2696,,5c2d3ed0.a88,2,,2019-01-02 22:44:32 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:32.817 UTC,,,2696,,5c2d3ed0.a88,3,,2019-01-02 22:44:32 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:32.933 UTC,,,2696,,5c2d3ed0.a88,4,,2019-01-02 22:44:32 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:32.934 UTC,,,82,,5c2d3ab1.52,818,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:32.935 UTC,,,2696,,5c2d3ed0.a88,5,,2019-01-02 22:44:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018EA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:32.985 UTC,,,2701,,5c2d3ed0.a8d,1,,2019-01-02 22:44:32 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:35.285 UTC,,,2701,,5c2d3ed0.a8d,2,,2019-01-02 22:44:32 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:35.285 UTC,,,2696,,5c2d3ed0.a88,6,,2019-01-02 22:44:32 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018F18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:35.494 UTC,,,2704,,5c2d3ed3.a90,1,,2019-01-02 22:44:35 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:37.441 UTC,,,82,,5c2d3ab1.52,819,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2700) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:37.441 UTC,,,82,,5c2d3ab1.52,820,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:37.447 UTC,,,82,,5c2d3ab1.52,821,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:37.699 UTC,,,2705,,5c2d3ed5.a91,1,,2019-01-02 22:44:37 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:37.773 UTC,,,2705,,5c2d3ed5.a91,2,,2019-01-02 22:44:37 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:37.779 UTC,,,2705,,5c2d3ed5.a91,3,,2019-01-02 22:44:37 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:37.898 UTC,,,2705,,5c2d3ed5.a91,4,,2019-01-02 22:44:37 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:37.899 UTC,,,82,,5c2d3ab1.52,822,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:37.899 UTC,,,2705,,5c2d3ed5.a91,5,,2019-01-02 22:44:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018F18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:37.992 UTC,,,2710,,5c2d3ed5.a96,1,,2019-01-02 22:44:37 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:38.454 UTC,,,2713,"[local]",5c2d3ed6.a99,1,"",2019-01-02 22:44:38 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:38.455 UTC,"postgres","postgres",2713,"[local]",5c2d3ed6.a99,2,"authentication",2019-01-02 22:44:38 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:44:40.311 UTC,,,2710,,5c2d3ed5.a96,2,,2019-01-02 22:44:37 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:40.353 UTC,,,2705,,5c2d3ed5.a91,6,,2019-01-02 22:44:37 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018F88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:40.897 UTC,,,2722,,5c2d3ed8.aa2,1,,2019-01-02 22:44:40 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:42.380 UTC,,,82,,5c2d3ab1.52,823,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2709) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:42.380 UTC,,,82,,5c2d3ab1.52,824,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:42.380 UTC,"postgres","postgres",2713,"[local]",5c2d3ed6.a99,3,"idle",2019-01-02 22:44:38 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:42.391 UTC,,,82,,5c2d3ab1.52,825,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:42.854 UTC,,,2723,,5c2d3eda.aa3,1,,2019-01-02 22:44:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:42.912 UTC,,,2723,,5c2d3eda.aa3,2,,2019-01-02 22:44:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:42.919 UTC,,,2723,,5c2d3eda.aa3,3,,2019-01-02 22:44:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:43.026 UTC,,,2723,,5c2d3eda.aa3,4,,2019-01-02 22:44:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:43.054 UTC,,,82,,5c2d3ab1.52,826,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:43.056 UTC,,,2723,,5c2d3eda.aa3,5,,2019-01-02 22:44:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018F88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:43.091 UTC,,,2728,,5c2d3edb.aa8,1,,2019-01-02 22:44:43 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:45.749 UTC,,,2728,,5c2d3edb.aa8,2,,2019-01-02 22:44:43 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:45.753 UTC,,,2723,,5c2d3eda.aa3,6,,2019-01-02 22:44:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018FF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:45.942 UTC,,,2731,,5c2d3edd.aab,1,,2019-01-02 22:44:45 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:47.527 UTC,,,82,,5c2d3ab1.52,827,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2727) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:47.527 UTC,,,82,,5c2d3ab1.52,828,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:47.535 UTC,,,82,,5c2d3ab1.52,829,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:47.954 UTC,,,2732,,5c2d3edf.aac,1,,2019-01-02 22:44:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:48.012 UTC,,,2732,,5c2d3edf.aac,2,,2019-01-02 22:44:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:48.054 UTC,,,2732,,5c2d3edf.aac,3,,2019-01-02 22:44:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:48.231 UTC,,,2732,,5c2d3edf.aac,4,,2019-01-02 22:44:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:48.232 UTC,,,82,,5c2d3ab1.52,830,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:48.232 UTC,,,2732,,5c2d3edf.aac,5,,2019-01-02 22:44:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14018FF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:48.253 UTC,,,2737,,5c2d3ee0.ab1,1,,2019-01-02 22:44:48 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:48.653 UTC,,,2740,"[local]",5c2d3ee0.ab4,1,"",2019-01-02 22:44:48 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:48.654 UTC,"postgres","postgres",2740,"[local]",5c2d3ee0.ab4,2,"authentication",2019-01-02 22:44:48 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:44:50.753 UTC,,,2737,,5c2d3ee0.ab1,2,,2019-01-02 22:44:48 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:50.754 UTC,,,2732,,5c2d3edf.aac,6,,2019-01-02 22:44:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019068: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:50.994 UTC,,,2745,,5c2d3ee2.ab9,1,,2019-01-02 22:44:50 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:52.678 UTC,,,82,,5c2d3ab1.52,831,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2736) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:52.678 UTC,,,82,,5c2d3ab1.52,832,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:52.678 UTC,"postgres","postgres",2740,"[local]",5c2d3ee0.ab4,3,"idle",2019-01-02 22:44:48 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:44:52.687 UTC,,,82,,5c2d3ab1.52,833,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:53.159 UTC,,,2746,,5c2d3ee5.aba,1,,2019-01-02 22:44:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:53.256 UTC,,,2746,,5c2d3ee5.aba,2,,2019-01-02 22:44:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:53.275 UTC,,,2746,,5c2d3ee5.aba,3,,2019-01-02 22:44:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:53.573 UTC,,,2746,,5c2d3ee5.aba,4,,2019-01-02 22:44:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:53.574 UTC,,,82,,5c2d3ab1.52,834,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:53.574 UTC,,,2746,,5c2d3ee5.aba,5,,2019-01-02 22:44:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019068: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:53.686 UTC,,,2751,,5c2d3ee5.abf,1,,2019-01-02 22:44:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:55.754 UTC,,,2751,,5c2d3ee5.abf,2,,2019-01-02 22:44:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:44:55.754 UTC,,,2746,,5c2d3ee5.aba,6,,2019-01-02 22:44:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/140190D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:56.058 UTC,,,2758,,5c2d3ee7.ac6,1,,2019-01-02 22:44:55 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:44:58.048 UTC,,,82,,5c2d3ab1.52,835,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2750) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:44:58.048 UTC,,,82,,5c2d3ab1.52,836,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:44:58.057 UTC,,,82,,5c2d3ab1.52,837,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:44:58.456 UTC,,,2759,,5c2d3eea.ac7,1,,2019-01-02 22:44:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:44:58.518 UTC,,,2759,,5c2d3eea.ac7,2,,2019-01-02 22:44:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:44:58.523 UTC,,,2759,,5c2d3eea.ac7,3,,2019-01-02 22:44:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:44:58.655 UTC,,,2762,"[local]",5c2d3eea.aca,1,"",2019-01-02 22:44:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:58.655 UTC,"postgres","postgres",2762,"[local]",5c2d3eea.aca,2,"",2019-01-02 22:44:58 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:44:58.673 UTC,,,2759,,5c2d3eea.ac7,4,,2019-01-02 22:44:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:44:58.673 UTC,,,82,,5c2d3ab1.52,838,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:44:58.674 UTC,,,2759,,5c2d3eea.ac7,5,,2019-01-02 22:44:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/140190D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:44:58.789 UTC,,,2765,,5c2d3eea.acd,1,,2019-01-02 22:44:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:44:59.498 UTC,,,2768,"[local]",5c2d3eeb.ad0,1,"",2019-01-02 22:44:59 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:44:59.499 UTC,"postgres","postgres",2768,"[local]",5c2d3eeb.ad0,2,"authentication",2019-01-02 22:44:59 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:00.795 UTC,,,2765,,5c2d3eea.acd,2,,2019-01-02 22:44:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:00.797 UTC,,,2759,,5c2d3eea.ac7,6,,2019-01-02 22:44:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019148: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:01.176 UTC,,,2773,,5c2d3eec.ad5,1,,2019-01-02 22:45:00 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:03.025 UTC,,,82,,5c2d3ab1.52,839,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2764) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:03.025 UTC,,,82,,5c2d3ab1.52,840,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:03.025 UTC,"postgres","postgres",2768,"[local]",5c2d3eeb.ad0,3,"idle",2019-01-02 22:44:59 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:03.034 UTC,,,82,,5c2d3ab1.52,841,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:03.355 UTC,,,2774,,5c2d3eef.ad6,1,,2019-01-02 22:45:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:03.416 UTC,,,2774,,5c2d3eef.ad6,2,,2019-01-02 22:45:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:03.422 UTC,,,2774,,5c2d3eef.ad6,3,,2019-01-02 22:45:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:03.517 UTC,,,2774,,5c2d3eef.ad6,4,,2019-01-02 22:45:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:03.517 UTC,,,82,,5c2d3ab1.52,842,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:03.518 UTC,,,2774,,5c2d3eef.ad6,5,,2019-01-02 22:45:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019148: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:03.590 UTC,,,2779,,5c2d3eef.adb,1,,2019-01-02 22:45:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:05.863 UTC,,,2779,,5c2d3eef.adb,2,,2019-01-02 22:45:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:05.864 UTC,,,2774,,5c2d3eef.ad6,6,,2019-01-02 22:45:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/140191B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:06.395 UTC,,,2782,,5c2d3ef1.ade,1,,2019-01-02 22:45:05 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:08.006 UTC,,,82,,5c2d3ab1.52,843,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2778) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:08.006 UTC,,,82,,5c2d3ab1.52,844,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:08.014 UTC,,,82,,5c2d3ab1.52,845,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:08.501 UTC,,,2784,"[local]",5c2d3ef4.ae0,1,"",2019-01-02 22:45:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:08.501 UTC,"postgres","postgres",2784,"[local]",5c2d3ef4.ae0,2,"",2019-01-02 22:45:08 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:08.505 UTC,,,2783,,5c2d3ef4.adf,1,,2019-01-02 22:45:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:08.517 UTC,,,2786,"[local]",5c2d3ef4.ae2,1,"",2019-01-02 22:45:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:08.518 UTC,"postgres","postgres",2786,"[local]",5c2d3ef4.ae2,2,"",2019-01-02 22:45:08 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:08.629 UTC,,,2783,,5c2d3ef4.adf,2,,2019-01-02 22:45:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:08.635 UTC,,,2783,,5c2d3ef4.adf,3,,2019-01-02 22:45:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:08.793 UTC,,,2783,,5c2d3ef4.adf,4,,2019-01-02 22:45:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:08.794 UTC,,,82,,5c2d3ab1.52,846,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:08.794 UTC,,,2783,,5c2d3ef4.adf,5,,2019-01-02 22:45:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/140191B8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:08.819 UTC,,,2795,,5c2d3ef4.aeb,1,,2019-01-02 22:45:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:11.287 UTC,,,2795,,5c2d3ef4.aeb,2,,2019-01-02 22:45:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:11.287 UTC,,,2783,,5c2d3ef4.adf,6,,2019-01-02 22:45:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019228: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:11.654 UTC,,,2798,,5c2d3ef7.aee,1,,2019-01-02 22:45:11 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:13.179 UTC,,,82,,5c2d3ab1.52,847,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2794) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:13.179 UTC,,,82,,5c2d3ab1.52,848,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:13.190 UTC,,,82,,5c2d3ab1.52,849,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:13.440 UTC,,,2799,,5c2d3ef9.aef,1,,2019-01-02 22:45:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:13.498 UTC,,,2799,,5c2d3ef9.aef,2,,2019-01-02 22:45:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:13.505 UTC,,,2799,,5c2d3ef9.aef,3,,2019-01-02 22:45:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:13.625 UTC,,,2799,,5c2d3ef9.aef,4,,2019-01-02 22:45:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:13.626 UTC,,,82,,5c2d3ab1.52,850,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:13.627 UTC,,,2799,,5c2d3ef9.aef,5,,2019-01-02 22:45:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019228: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:13.690 UTC,,,2804,,5c2d3ef9.af4,1,,2019-01-02 22:45:13 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:16.394 UTC,,,2804,,5c2d3ef9.af4,2,,2019-01-02 22:45:13 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:16.394 UTC,,,2799,,5c2d3ef9.aef,6,,2019-01-02 22:45:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019298: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:16.953 UTC,,,2807,,5c2d3efc.af7,1,,2019-01-02 22:45:16 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:18.031 UTC,,,82,,5c2d3ab1.52,851,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2803) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:18.031 UTC,,,82,,5c2d3ab1.52,852,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:18.038 UTC,,,82,,5c2d3ab1.52,853,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:18.458 UTC,,,2808,,5c2d3efe.af8,1,,2019-01-02 22:45:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:18.573 UTC,,,2808,,5c2d3efe.af8,2,,2019-01-02 22:45:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:18.585 UTC,,,2808,,5c2d3efe.af8,3,,2019-01-02 22:45:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:18.672 UTC,,,2808,,5c2d3efe.af8,4,,2019-01-02 22:45:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:18.672 UTC,,,82,,5c2d3ab1.52,854,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:18.673 UTC,,,2808,,5c2d3efe.af8,5,,2019-01-02 22:45:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019298: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:18.702 UTC,,,2813,,5c2d3efe.afd,1,,2019-01-02 22:45:18 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:18.856 UTC,,,2817,"[local]",5c2d3efe.b01,1,"",2019-01-02 22:45:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:18.857 UTC,"postgres","postgres",2817,"[local]",5c2d3efe.b01,2,"authentication",2019-01-02 22:45:18 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:18.861 UTC,"postgres","postgres",2817,"[local]",5c2d3efe.b01,3,"idle",2019-01-02 22:45:18 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:45:18.863 UTC,,,2818,"[local]",5c2d3efe.b02,1,"",2019-01-02 22:45:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:18.864 UTC,"postgres","postgres",2818,"[local]",5c2d3efe.b02,2,"authentication",2019-01-02 22:45:18 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:21.663 UTC,,,2813,,5c2d3efe.afd,2,,2019-01-02 22:45:18 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:21.663 UTC,,,2808,,5c2d3efe.af8,6,,2019-01-02 22:45:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019308: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:22.263 UTC,,,2823,,5c2d3f01.b07,1,,2019-01-02 22:45:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:23.200 UTC,,,82,,5c2d3ab1.52,855,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2812) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:23.200 UTC,,,82,,5c2d3ab1.52,856,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:23.200 UTC,"postgres","postgres",2818,"[local]",5c2d3efe.b02,3,"idle",2019-01-02 22:45:18 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:23.254 UTC,,,82,,5c2d3ab1.52,857,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:23.626 UTC,,,2824,,5c2d3f03.b08,1,,2019-01-02 22:45:23 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:23.685 UTC,,,2824,,5c2d3f03.b08,2,,2019-01-02 22:45:23 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:23.691 UTC,,,2824,,5c2d3f03.b08,3,,2019-01-02 22:45:23 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:23.796 UTC,,,2824,,5c2d3f03.b08,4,,2019-01-02 22:45:23 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:23.797 UTC,,,82,,5c2d3ab1.52,858,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:23.798 UTC,,,2824,,5c2d3f03.b08,5,,2019-01-02 22:45:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019308: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:23.892 UTC,,,2829,,5c2d3f03.b0d,1,,2019-01-02 22:45:23 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:27.254 UTC,,,2829,,5c2d3f03.b0d,2,,2019-01-02 22:45:23 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:27.257 UTC,,,2824,,5c2d3f03.b08,6,,2019-01-02 22:45:23 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019378: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:27.653 UTC,,,2832,,5c2d3f07.b10,1,,2019-01-02 22:45:27 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:28.176 UTC,,,82,,5c2d3ab1.52,859,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2828) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:28.176 UTC,,,82,,5c2d3ab1.52,860,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:28.182 UTC,,,82,,5c2d3ab1.52,861,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:28.558 UTC,,,2834,"[local]",5c2d3f08.b12,1,"",2019-01-02 22:45:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:28.558 UTC,"postgres","postgres",2834,"[local]",5c2d3f08.b12,2,"",2019-01-02 22:45:28 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:28.561 UTC,,,2833,,5c2d3f08.b11,1,,2019-01-02 22:45:28 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:28.576 UTC,,,2836,"[local]",5c2d3f08.b14,1,"",2019-01-02 22:45:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:28.576 UTC,"postgres","postgres",2836,"[local]",5c2d3f08.b14,2,"",2019-01-02 22:45:28 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:28.698 UTC,,,2833,,5c2d3f08.b11,2,,2019-01-02 22:45:28 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:28.704 UTC,,,2833,,5c2d3f08.b11,3,,2019-01-02 22:45:28 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:28.869 UTC,,,2844,"[local]",5c2d3f08.b1c,1,"",2019-01-02 22:45:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:28.869 UTC,"postgres","postgres",2844,"[local]",5c2d3f08.b1c,2,"",2019-01-02 22:45:28 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:45:28.875 UTC,,,2845,"[local]",5c2d3f08.b1d,1,"",2019-01-02 22:45:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:28.875 UTC,"postgres","postgres",2845,"[local]",5c2d3f08.b1d,2,"",2019-01-02 22:45:28 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:45:29.066 UTC,,,2833,,5c2d3f08.b11,4,,2019-01-02 22:45:28 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:29.066 UTC,,,82,,5c2d3ab1.52,862,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:29.067 UTC,,,2833,,5c2d3f08.b11,5,,2019-01-02 22:45:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019378: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:29.137 UTC,,,2851,"[local]",5c2d3f09.b23,1,"",2019-01-02 22:45:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:29.138 UTC,"postgres","postgres",2851,"[local]",5c2d3f09.b23,2,"authentication",2019-01-02 22:45:29 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:29.191 UTC,,,2848,,5c2d3f09.b20,1,,2019-01-02 22:45:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:32.553 UTC,,,2848,,5c2d3f09.b20,2,,2019-01-02 22:45:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:32.555 UTC,,,2833,,5c2d3f08.b11,6,,2019-01-02 22:45:28 UTC,1/0,0,LOG,00000,"invalid record length at 0/140193E8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:33.600 UTC,,,82,,5c2d3ab1.52,863,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2847) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:33.600 UTC,,,82,,5c2d3ab1.52,864,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:33.600 UTC,"postgres","postgres",2851,"[local]",5c2d3f09.b23,3,"idle",2019-01-02 22:45:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:33.612 UTC,,,82,,5c2d3ab1.52,865,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:34.059 UTC,,,2857,,5c2d3f0e.b29,1,,2019-01-02 22:45:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:34.115 UTC,,,2857,,5c2d3f0e.b29,2,,2019-01-02 22:45:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:34.159 UTC,,,2857,,5c2d3f0e.b29,3,,2019-01-02 22:45:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:34.261 UTC,,,2857,,5c2d3f0e.b29,4,,2019-01-02 22:45:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:34.262 UTC,,,82,,5c2d3ab1.52,866,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:34.263 UTC,,,2857,,5c2d3f0e.b29,5,,2019-01-02 22:45:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/140193E8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:34.291 UTC,,,2862,,5c2d3f0e.b2e,1,,2019-01-02 22:45:34 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:38.720 UTC,,,82,,5c2d3ab1.52,867,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2861) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:38.720 UTC,,,82,,5c2d3ab1.52,868,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:38.731 UTC,,,82,,5c2d3ab1.52,869,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:38.945 UTC,,,2865,,5c2d3f12.b31,1,,2019-01-02 22:45:38 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:39.006 UTC,,,2865,,5c2d3f12.b31,2,,2019-01-02 22:45:38 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:39.023 UTC,,,2865,,5c2d3f12.b31,3,,2019-01-02 22:45:38 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:39.165 UTC,,,2869,"[local]",5c2d3f13.b35,1,"",2019-01-02 22:45:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:39.165 UTC,"postgres","postgres",2869,"[local]",5c2d3f13.b35,2,"",2019-01-02 22:45:39 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:45:39.229 UTC,,,2865,,5c2d3f12.b31,4,,2019-01-02 22:45:38 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:39.229 UTC,,,82,,5c2d3ab1.52,870,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:39.230 UTC,,,2865,,5c2d3f12.b31,5,,2019-01-02 22:45:38 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019458: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:39.279 UTC,,,2875,"[local]",5c2d3f13.b3b,1,"",2019-01-02 22:45:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:39.279 UTC,"postgres","postgres",2875,"[local]",5c2d3f13.b3b,2,"authentication",2019-01-02 22:45:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:39.553 UTC,,,2872,,5c2d3f13.b38,1,,2019-01-02 22:45:39 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:39.593 UTC,,,2880,,5c2d3f13.b40,1,,2019-01-02 22:45:39 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:43.752 UTC,,,82,,5c2d3ab1.52,871,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2871) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:43.752 UTC,,,82,,5c2d3ab1.52,872,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:43.753 UTC,"postgres","postgres",2875,"[local]",5c2d3f13.b3b,3,"idle",2019-01-02 22:45:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:43.761 UTC,,,82,,5c2d3ab1.52,873,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:44.032 UTC,,,2881,,5c2d3f18.b41,1,,2019-01-02 22:45:44 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:44.123 UTC,,,2881,,5c2d3f18.b41,2,,2019-01-02 22:45:44 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:44.129 UTC,,,2881,,5c2d3f18.b41,3,,2019-01-02 22:45:44 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:44.216 UTC,,,2881,,5c2d3f18.b41,4,,2019-01-02 22:45:44 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:44.216 UTC,,,82,,5c2d3ab1.52,874,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:44.217 UTC,,,2881,,5c2d3f18.b41,5,,2019-01-02 22:45:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019458: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:44.284 UTC,,,2886,,5c2d3f18.b46,1,,2019-01-02 22:45:44 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:44.341 UTC,,,2886,,5c2d3f18.b46,2,,2019-01-02 22:45:44 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:44.341 UTC,,,2881,,5c2d3f18.b41,6,,2019-01-02 22:45:44 UTC,1/0,0,LOG,00000,"invalid record length at 0/140194C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:44.784 UTC,,,2889,,5c2d3f18.b49,1,,2019-01-02 22:45:44 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:48.566 UTC,,,82,,5c2d3ab1.52,875,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2885) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:48.566 UTC,,,82,,5c2d3ab1.52,876,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:48.572 UTC,,,82,,5c2d3ab1.52,877,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:49.058 UTC,,,2892,"[local]",5c2d3f1d.b4c,1,"",2019-01-02 22:45:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:49.058 UTC,"postgres","postgres",2892,"[local]",5c2d3f1d.b4c,2,"",2019-01-02 22:45:49 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:49.063 UTC,,,2891,,5c2d3f1d.b4b,1,,2019-01-02 22:45:49 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:49.163 UTC,,,2891,,5c2d3f1d.b4b,2,,2019-01-02 22:45:49 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:49.169 UTC,,,2891,,5c2d3f1d.b4b,3,,2019-01-02 22:45:49 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:49.263 UTC,,,2891,,5c2d3f1d.b4b,4,,2019-01-02 22:45:49 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:49.263 UTC,,,82,,5c2d3ab1.52,878,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:49.264 UTC,,,2891,,5c2d3f1d.b4b,5,,2019-01-02 22:45:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/140194C8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:49.350 UTC,,,2897,,5c2d3f1d.b51,1,,2019-01-02 22:45:49 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:49.755 UTC,,,2900,"[local]",5c2d3f1d.b54,1,"",2019-01-02 22:45:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:49.756 UTC,"postgres","postgres",2900,"[local]",5c2d3f1d.b54,2,"authentication",2019-01-02 22:45:49 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:49.857 UTC,,,2897,,5c2d3f1d.b51,2,,2019-01-02 22:45:49 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:49.857 UTC,,,2891,,5c2d3f1d.b4b,6,,2019-01-02 22:45:49 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019538: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:49.995 UTC,,,2905,,5c2d3f1d.b59,1,,2019-01-02 22:45:49 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:53.812 UTC,,,82,,5c2d3ab1.52,879,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2896) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:53.812 UTC,,,82,,5c2d3ab1.52,880,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:53.812 UTC,"postgres","postgres",2900,"[local]",5c2d3f1d.b54,3,"idle",2019-01-02 22:45:49 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:53.821 UTC,,,82,,5c2d3ab1.52,881,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:54.254 UTC,,,2910,,5c2d3f22.b5e,1,,2019-01-02 22:45:54 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:54.316 UTC,,,2910,,5c2d3f22.b5e,2,,2019-01-02 22:45:54 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:54.327 UTC,,,2910,,5c2d3f22.b5e,3,,2019-01-02 22:45:54 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:54.453 UTC,,,2910,,5c2d3f22.b5e,4,,2019-01-02 22:45:54 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:54.454 UTC,,,82,,5c2d3ab1.52,882,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:54.454 UTC,,,2910,,5c2d3f22.b5e,5,,2019-01-02 22:45:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019538: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:54.490 UTC,,,2915,,5c2d3f22.b63,1,,2019-01-02 22:45:54 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:45:55.081 UTC,,,2915,,5c2d3f22.b63,2,,2019-01-02 22:45:54 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:45:55.081 UTC,,,2910,,5c2d3f22.b5e,6,,2019-01-02 22:45:54 UTC,1/0,0,LOG,00000,"invalid record length at 0/140195A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:55.554 UTC,,,2918,,5c2d3f23.b66,1,,2019-01-02 22:45:55 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:45:58.477 UTC,,,2920,"[local]",5c2d3f26.b68,1,"",2019-01-02 22:45:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:58.478 UTC,"postgres","postgres",2920,"[local]",5c2d3f26.b68,2,"authentication",2019-01-02 22:45:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:58.556 UTC,"postgres","postgres",2920,"[local]",5c2d3f26.b68,3,"idle",2019-01-02 22:45:58 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.079 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:45:58.558 UTC,,,2921,"[local]",5c2d3f26.b69,1,"",2019-01-02 22:45:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:45:58.558 UTC,"postgres","postgres",2921,"[local]",5c2d3f26.b69,2,"authentication",2019-01-02 22:45:58 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:45:58.988 UTC,,,82,,5c2d3ab1.52,883,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2914) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:45:58.989 UTC,,,82,,5c2d3ab1.52,884,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:45:58.989 UTC,"postgres","postgres",2921,"[local]",5c2d3f26.b69,3,"idle",2019-01-02 22:45:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:45:58.997 UTC,,,82,,5c2d3ab1.52,885,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:45:59.356 UTC,,,2926,,5c2d3f27.b6e,1,,2019-01-02 22:45:59 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:45:59.410 UTC,,,2926,,5c2d3f27.b6e,2,,2019-01-02 22:45:59 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:45:59.416 UTC,,,2926,,5c2d3f27.b6e,3,,2019-01-02 22:45:59 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:45:59.529 UTC,,,2926,,5c2d3f27.b6e,4,,2019-01-02 22:45:59 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:45:59.530 UTC,,,82,,5c2d3ab1.52,886,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:45:59.531 UTC,,,2926,,5c2d3f27.b6e,5,,2019-01-02 22:45:59 UTC,1/0,0,LOG,00000,"invalid record length at 0/140195A8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:45:59.590 UTC,,,2931,,5c2d3f27.b73,1,,2019-01-02 22:45:59 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:00.307 UTC,,,2931,,5c2d3f27.b73,2,,2019-01-02 22:45:59 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:00.307 UTC,,,2926,,5c2d3f27.b6e,6,,2019-01-02 22:45:59 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019618: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:00.698 UTC,,,2934,,5c2d3f28.b76,1,,2019-01-02 22:46:00 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:04.074 UTC,,,82,,5c2d3ab1.52,887,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2930) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:04.074 UTC,,,82,,5c2d3ab1.52,888,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:04.082 UTC,,,82,,5c2d3ab1.52,889,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:04.659 UTC,,,2935,,5c2d3f2c.b77,1,,2019-01-02 22:46:04 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:04.764 UTC,,,2935,,5c2d3f2c.b77,2,,2019-01-02 22:46:04 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:04.769 UTC,,,2935,,5c2d3f2c.b77,3,,2019-01-02 22:46:04 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:05.067 UTC,,,2935,,5c2d3f2c.b77,4,,2019-01-02 22:46:04 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:05.067 UTC,,,82,,5c2d3ab1.52,890,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:05.068 UTC,,,2935,,5c2d3f2c.b77,5,,2019-01-02 22:46:04 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019618: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:05.095 UTC,,,2940,,5c2d3f2d.b7c,1,,2019-01-02 22:46:05 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:05.667 UTC,,,2940,,5c2d3f2d.b7c,2,,2019-01-02 22:46:05 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:05.668 UTC,,,2935,,5c2d3f2c.b77,6,,2019-01-02 22:46:04 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019688: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:05.999 UTC,,,2943,,5c2d3f2d.b7f,1,,2019-01-02 22:46:05 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:09.459 UTC,,,2944,"[local]",5c2d3f31.b80,1,"",2019-01-02 22:46:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:09.460 UTC,"postgres","postgres",2944,"[local]",5c2d3f31.b80,2,"authentication",2019-01-02 22:46:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:09.557 UTC,,,82,,5c2d3ab1.52,891,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2939) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:09.557 UTC,,,82,,5c2d3ab1.52,892,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:09.558 UTC,"postgres","postgres",2944,"[local]",5c2d3f31.b80,3,"idle",2019-01-02 22:46:09 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:46:09.569 UTC,,,82,,5c2d3ab1.52,893,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:10.056 UTC,,,2949,,5c2d3f32.b85,1,,2019-01-02 22:46:10 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:10.118 UTC,,,2949,,5c2d3f32.b85,2,,2019-01-02 22:46:10 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:10.154 UTC,,,2949,,5c2d3f32.b85,3,,2019-01-02 22:46:10 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:10.259 UTC,,,2949,,5c2d3f32.b85,4,,2019-01-02 22:46:10 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:10.260 UTC,,,82,,5c2d3ab1.52,894,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:10.261 UTC,,,2949,,5c2d3f32.b85,5,,2019-01-02 22:46:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019688: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:10.294 UTC,,,2954,,5c2d3f32.b8a,1,,2019-01-02 22:46:10 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:10.971 UTC,,,2954,,5c2d3f32.b8a,2,,2019-01-02 22:46:10 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:10.971 UTC,,,2949,,5c2d3f32.b85,6,,2019-01-02 22:46:10 UTC,1/0,0,LOG,00000,"invalid record length at 0/140196F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:11.183 UTC,,,2957,,5c2d3f33.b8d,1,,2019-01-02 22:46:11 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:14.796 UTC,,,82,,5c2d3ab1.52,895,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2953) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:14.796 UTC,,,82,,5c2d3ab1.52,896,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:14.802 UTC,,,82,,5c2d3ab1.52,897,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:15.261 UTC,,,2958,,5c2d3f37.b8e,1,,2019-01-02 22:46:15 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:15.358 UTC,,,2958,,5c2d3f37.b8e,2,,2019-01-02 22:46:15 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:15.364 UTC,,,2958,,5c2d3f37.b8e,3,,2019-01-02 22:46:15 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:15.480 UTC,,,2958,,5c2d3f37.b8e,4,,2019-01-02 22:46:15 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:15.481 UTC,,,82,,5c2d3ab1.52,898,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:15.482 UTC,,,2958,,5c2d3f37.b8e,5,,2019-01-02 22:46:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/140196F8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:15.501 UTC,,,2963,,5c2d3f37.b93,1,,2019-01-02 22:46:15 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:15.993 UTC,,,2963,,5c2d3f37.b93,2,,2019-01-02 22:46:15 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:15.993 UTC,,,2958,,5c2d3f37.b8e,6,,2019-01-02 22:46:15 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019768: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:16.249 UTC,,,2966,,5c2d3f37.b96,1,,2019-01-02 22:46:15 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:19.061 UTC,,,2967,"[local]",5c2d3f3b.b97,1,"",2019-01-02 22:46:19 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:19.062 UTC,"postgres","postgres",2967,"[local]",5c2d3f3b.b97,2,"authentication",2019-01-02 22:46:19 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:20.050 UTC,,,82,,5c2d3ab1.52,899,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2962) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:20.050 UTC,,,82,,5c2d3ab1.52,900,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:20.050 UTC,"postgres","postgres",2967,"[local]",5c2d3f3b.b97,3,"idle",2019-01-02 22:46:19 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:46:20.059 UTC,,,82,,5c2d3ab1.52,901,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:20.455 UTC,,,2972,,5c2d3f3c.b9c,1,,2019-01-02 22:46:20 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:20.510 UTC,,,2972,,5c2d3f3c.b9c,2,,2019-01-02 22:46:20 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:20.515 UTC,,,2972,,5c2d3f3c.b9c,3,,2019-01-02 22:46:20 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:20.614 UTC,,,2972,,5c2d3f3c.b9c,4,,2019-01-02 22:46:20 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:20.614 UTC,,,82,,5c2d3ab1.52,902,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:20.615 UTC,,,2972,,5c2d3f3c.b9c,5,,2019-01-02 22:46:20 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019768: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:20.683 UTC,,,2977,,5c2d3f3c.ba1,1,,2019-01-02 22:46:20 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:21.027 UTC,,,2977,,5c2d3f3c.ba1,2,,2019-01-02 22:46:20 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:21.028 UTC,,,2972,,5c2d3f3c.b9c,6,,2019-01-02 22:46:20 UTC,1/0,0,LOG,00000,"invalid record length at 0/140197D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:21.500 UTC,,,2980,,5c2d3f3d.ba4,1,,2019-01-02 22:46:21 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:25.196 UTC,,,82,,5c2d3ab1.52,903,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2976) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:25.196 UTC,,,82,,5c2d3ab1.52,904,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:25.202 UTC,,,82,,5c2d3ab1.52,905,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:25.633 UTC,,,2981,,5c2d3f41.ba5,1,,2019-01-02 22:46:25 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:25.688 UTC,,,2981,,5c2d3f41.ba5,2,,2019-01-02 22:46:25 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:25.694 UTC,,,2981,,5c2d3f41.ba5,3,,2019-01-02 22:46:25 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:25.853 UTC,,,2981,,5c2d3f41.ba5,4,,2019-01-02 22:46:25 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:25.854 UTC,,,82,,5c2d3ab1.52,906,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:25.855 UTC,,,2981,,5c2d3f41.ba5,5,,2019-01-02 22:46:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/140197D8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:25.901 UTC,,,2986,,5c2d3f41.baa,1,,2019-01-02 22:46:25 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:26.672 UTC,,,2986,,5c2d3f41.baa,2,,2019-01-02 22:46:25 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:26.753 UTC,,,2981,,5c2d3f41.ba5,6,,2019-01-02 22:46:25 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019848: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:26.883 UTC,,,2989,,5c2d3f42.bad,1,,2019-01-02 22:46:26 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:28.853 UTC,,,2990,"[local]",5c2d3f44.bae,1,"",2019-01-02 22:46:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:28.854 UTC,"postgres","postgres",2990,"[local]",5c2d3f44.bae,2,"authentication",2019-01-02 22:46:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:30.442 UTC,,,82,,5c2d3ab1.52,907,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 2985) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:30.442 UTC,,,82,,5c2d3ab1.52,908,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:30.442 UTC,"postgres","postgres",2990,"[local]",5c2d3f44.bae,3,"idle",2019-01-02 22:46:28 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:46:30.452 UTC,,,82,,5c2d3ab1.52,909,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:31.054 UTC,,,2999,,5c2d3f47.bb7,1,,2019-01-02 22:46:31 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:31.111 UTC,,,2999,,5c2d3f47.bb7,2,,2019-01-02 22:46:31 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:31.116 UTC,,,2999,,5c2d3f47.bb7,3,,2019-01-02 22:46:31 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:31.966 UTC,,,2999,,5c2d3f47.bb7,4,,2019-01-02 22:46:31 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:31.967 UTC,,,82,,5c2d3ab1.52,910,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:31.968 UTC,,,2999,,5c2d3f47.bb7,5,,2019-01-02 22:46:31 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019848: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:31.993 UTC,,,3004,,5c2d3f47.bbc,1,,2019-01-02 22:46:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:32.005 UTC,,,3007,,5c2d3f47.bbf,1,,2019-01-02 22:46:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:36.452 UTC,,,82,,5c2d3ab1.52,911,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3003) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:36.452 UTC,,,82,,5c2d3ab1.52,912,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:36.458 UTC,,,82,,5c2d3ab1.52,913,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:36.954 UTC,,,3008,,5c2d3f4c.bc0,1,,2019-01-02 22:46:36 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:37.080 UTC,,,3008,,5c2d3f4c.bc0,2,,2019-01-02 22:46:36 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:37.088 UTC,,,3008,,5c2d3f4c.bc0,3,,2019-01-02 22:46:36 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:37.744 UTC,,,3008,,5c2d3f4c.bc0,4,,2019-01-02 22:46:36 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:37.744 UTC,,,82,,5c2d3ab1.52,914,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:37.745 UTC,,,3008,,5c2d3f4c.bc0,5,,2019-01-02 22:46:36 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019848: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:37.789 UTC,,,3013,,5c2d3f4d.bc5,1,,2019-01-02 22:46:37 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:37.803 UTC,,,3016,,5c2d3f4d.bc8,1,,2019-01-02 22:46:37 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:39.532 UTC,,,3017,"[local]",5c2d3f4f.bc9,1,"",2019-01-02 22:46:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:39.532 UTC,"postgres","postgres",3017,"[local]",5c2d3f4f.bc9,2,"authentication",2019-01-02 22:46:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:42.220 UTC,,,82,,5c2d3ab1.52,915,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3012) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:42.220 UTC,,,82,,5c2d3ab1.52,916,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:42.220 UTC,"postgres","postgres",3017,"[local]",5c2d3f4f.bc9,3,"idle",2019-01-02 22:46:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:46:42.230 UTC,,,82,,5c2d3ab1.52,917,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:42.654 UTC,,,3022,,5c2d3f52.bce,1,,2019-01-02 22:46:42 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:42.713 UTC,,,3022,,5c2d3f52.bce,2,,2019-01-02 22:46:42 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:42.735 UTC,,,3022,,5c2d3f52.bce,3,,2019-01-02 22:46:42 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:42.818 UTC,,,3022,,5c2d3f52.bce,4,,2019-01-02 22:46:42 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:42.818 UTC,,,82,,5c2d3ab1.52,918,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:42.819 UTC,,,3022,,5c2d3f52.bce,5,,2019-01-02 22:46:42 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019848: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:43.286 UTC,,,3027,,5c2d3f52.bd3,1,,2019-01-02 22:46:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:43.393 UTC,,,3030,,5c2d3f53.bd6,1,,2019-01-02 22:46:43 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:47.499 UTC,,,82,,5c2d3ab1.52,919,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3026) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:47.499 UTC,,,82,,5c2d3ab1.52,920,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:47.511 UTC,,,82,,5c2d3ab1.52,921,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:47.866 UTC,,,3031,,5c2d3f57.bd7,1,,2019-01-02 22:46:47 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:47.975 UTC,,,3031,,5c2d3f57.bd7,2,,2019-01-02 22:46:47 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:47.981 UTC,,,3031,,5c2d3f57.bd7,3,,2019-01-02 22:46:47 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:48.194 UTC,,,3031,,5c2d3f57.bd7,4,,2019-01-02 22:46:47 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:48.194 UTC,,,82,,5c2d3ab1.52,922,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:48.195 UTC,,,3031,,5c2d3f57.bd7,5,,2019-01-02 22:46:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019848: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:48.290 UTC,,,3036,,5c2d3f58.bdc,1,,2019-01-02 22:46:48 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:48.587 UTC,,,3036,,5c2d3f58.bdc,2,,2019-01-02 22:46:48 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:48.589 UTC,,,3031,,5c2d3f57.bd7,6,,2019-01-02 22:46:47 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019A08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:48.953 UTC,,,3039,,5c2d3f58.bdf,1,,2019-01-02 22:46:48 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:49.265 UTC,,,3040,"[local]",5c2d3f59.be0,1,"",2019-01-02 22:46:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:49.354 UTC,"postgres","postgres",3040,"[local]",5c2d3f59.be0,2,"authentication",2019-01-02 22:46:49 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:52.616 UTC,,,82,,5c2d3ab1.52,923,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3035) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:52.616 UTC,,,82,,5c2d3ab1.52,924,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:52.616 UTC,"postgres","postgres",3040,"[local]",5c2d3f59.be0,3,"idle",2019-01-02 22:46:49 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:46:52.625 UTC,,,82,,5c2d3ab1.52,925,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:53.055 UTC,,,3045,,5c2d3f5d.be5,1,,2019-01-02 22:46:53 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:53.115 UTC,,,3045,,5c2d3f5d.be5,2,,2019-01-02 22:46:53 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:53.121 UTC,,,3045,,5c2d3f5d.be5,3,,2019-01-02 22:46:53 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:53.291 UTC,,,3045,,5c2d3f5d.be5,4,,2019-01-02 22:46:53 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:53.292 UTC,,,82,,5c2d3ab1.52,926,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:53.292 UTC,,,3045,,5c2d3f5d.be5,5,,2019-01-02 22:46:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019A08: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:53.379 UTC,,,3050,,5c2d3f5d.bea,1,,2019-01-02 22:46:53 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:53.845 UTC,,,3050,,5c2d3f5d.bea,2,,2019-01-02 22:46:53 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:53.845 UTC,,,3045,,5c2d3f5d.be5,6,,2019-01-02 22:46:53 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019A78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:54.253 UTC,,,3053,,5c2d3f5d.bed,1,,2019-01-02 22:46:53 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:46:57.736 UTC,,,82,,5c2d3ab1.52,927,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3049) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:46:57.736 UTC,,,82,,5c2d3ab1.52,928,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:46:57.744 UTC,,,82,,5c2d3ab1.52,929,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:46:58.063 UTC,,,3058,,5c2d3f62.bf2,1,,2019-01-02 22:46:58 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:46:58.131 UTC,,,3058,,5c2d3f62.bf2,2,,2019-01-02 22:46:58 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:46:58.154 UTC,,,3058,,5c2d3f62.bf2,3,,2019-01-02 22:46:58 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:46:58.212 UTC,,,3058,,5c2d3f62.bf2,4,,2019-01-02 22:46:58 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:46:58.213 UTC,,,82,,5c2d3ab1.52,930,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:46:58.213 UTC,,,3058,,5c2d3f62.bf2,5,,2019-01-02 22:46:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019A78: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:58.287 UTC,,,3066,"[local]",5c2d3f62.bfa,1,"",2019-01-02 22:46:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:46:58.287 UTC,"postgres","postgres",3066,"[local]",5c2d3f62.bfa,2,"authentication",2019-01-02 22:46:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:46:58.390 UTC,,,3063,,5c2d3f62.bf7,1,,2019-01-02 22:46:58 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:46:59.251 UTC,,,3063,,5c2d3f62.bf7,2,,2019-01-02 22:46:58 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:46:59.253 UTC,,,3058,,5c2d3f62.bf2,6,,2019-01-02 22:46:58 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019AE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:46:59.892 UTC,,,3071,,5c2d3f63.bff,1,,2019-01-02 22:46:59 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:02.796 UTC,,,82,,5c2d3ab1.52,931,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3062) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:02.796 UTC,,,82,,5c2d3ab1.52,932,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:02.796 UTC,"postgres","postgres",3066,"[local]",5c2d3f62.bfa,3,"idle",2019-01-02 22:46:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:02.816 UTC,,,82,,5c2d3ab1.52,933,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:03.254 UTC,,,3072,,5c2d3f67.c00,1,,2019-01-02 22:47:03 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:03.314 UTC,,,3072,,5c2d3f67.c00,2,,2019-01-02 22:47:03 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:03.354 UTC,,,3072,,5c2d3f67.c00,3,,2019-01-02 22:47:03 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:03.431 UTC,,,3072,,5c2d3f67.c00,4,,2019-01-02 22:47:03 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:03.454 UTC,,,82,,5c2d3ab1.52,934,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:03.455 UTC,,,3072,,5c2d3f67.c00,5,,2019-01-02 22:47:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019AE8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:03.489 UTC,,,3077,,5c2d3f67.c05,1,,2019-01-02 22:47:03 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:04.812 UTC,,,3077,,5c2d3f67.c05,2,,2019-01-02 22:47:03 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:04.812 UTC,,,3072,,5c2d3f67.c00,6,,2019-01-02 22:47:03 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019B58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:05.405 UTC,,,3080,,5c2d3f68.c08,1,,2019-01-02 22:47:04 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:07.899 UTC,,,82,,5c2d3ab1.52,935,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3076) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:07.899 UTC,,,82,,5c2d3ab1.52,936,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:07.906 UTC,,,82,,5c2d3ab1.52,937,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:08.184 UTC,,,3081,,5c2d3f6c.c09,1,,2019-01-02 22:47:08 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:08.296 UTC,,,3081,,5c2d3f6c.c09,2,,2019-01-02 22:47:08 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:08.302 UTC,,,3081,,5c2d3f6c.c09,3,,2019-01-02 22:47:08 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:08.402 UTC,,,3081,,5c2d3f6c.c09,4,,2019-01-02 22:47:08 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:08.403 UTC,,,82,,5c2d3ab1.52,938,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:08.403 UTC,,,3081,,5c2d3f6c.c09,5,,2019-01-02 22:47:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019B58: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:08.490 UTC,,,3086,,5c2d3f6c.c0e,1,,2019-01-02 22:47:08 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:08.620 UTC,,,3089,"[local]",5c2d3f6c.c11,1,"",2019-01-02 22:47:08 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:08.621 UTC,"postgres","postgres",3089,"[local]",5c2d3f6c.c11,2,"authentication",2019-01-02 22:47:08 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:10.553 UTC,,,3086,,5c2d3f6c.c0e,2,,2019-01-02 22:47:08 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:10.554 UTC,,,3081,,5c2d3f6c.c09,6,,2019-01-02 22:47:08 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019BC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:10.953 UTC,,,3094,,5c2d3f6e.c16,1,,2019-01-02 22:47:10 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:13.074 UTC,,,82,,5c2d3ab1.52,939,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3085) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:13.074 UTC,,,82,,5c2d3ab1.52,940,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:13.074 UTC,"postgres","postgres",3089,"[local]",5c2d3f6c.c11,3,"idle",2019-01-02 22:47:08 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:13.083 UTC,,,82,,5c2d3ab1.52,941,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:13.234 UTC,,,3095,,5c2d3f71.c17,1,,2019-01-02 22:47:13 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:13.295 UTC,,,3095,,5c2d3f71.c17,2,,2019-01-02 22:47:13 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:13.302 UTC,,,3095,,5c2d3f71.c17,3,,2019-01-02 22:47:13 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:13.403 UTC,,,3095,,5c2d3f71.c17,4,,2019-01-02 22:47:13 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:13.403 UTC,,,82,,5c2d3ab1.52,942,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:13.404 UTC,,,3095,,5c2d3f71.c17,5,,2019-01-02 22:47:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019BC8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:13.502 UTC,,,3100,,5c2d3f71.c1c,1,,2019-01-02 22:47:13 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:15.886 UTC,,,3100,,5c2d3f71.c1c,2,,2019-01-02 22:47:13 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:15.887 UTC,,,3095,,5c2d3f71.c17,6,,2019-01-02 22:47:13 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019C38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:16.180 UTC,,,3103,,5c2d3f73.c1f,1,,2019-01-02 22:47:15 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:18.015 UTC,,,82,,5c2d3ab1.52,943,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3099) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:18.015 UTC,,,82,,5c2d3ab1.52,944,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:18.025 UTC,,,82,,5c2d3ab1.52,945,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:18.558 UTC,,,3104,,5c2d3f76.c20,1,,2019-01-02 22:47:18 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:18.561 UTC,,,3105,"[local]",5c2d3f76.c21,1,"",2019-01-02 22:47:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:18.561 UTC,"postgres","postgres",3105,"[local]",5c2d3f76.c21,2,"",2019-01-02 22:47:18 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:18.576 UTC,,,3107,"[local]",5c2d3f76.c23,1,"",2019-01-02 22:47:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:18.576 UTC,"postgres","postgres",3107,"[local]",5c2d3f76.c23,2,"",2019-01-02 22:47:18 UTC,,0,FATAL,57P03,"the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:18.703 UTC,,,3104,,5c2d3f76.c20,2,,2019-01-02 22:47:18 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:18.728 UTC,,,3104,,5c2d3f76.c20,3,,2019-01-02 22:47:18 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:18.874 UTC,,,3115,"[local]",5c2d3f76.c2b,1,"",2019-01-02 22:47:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:18.874 UTC,"postgres","postgres",3115,"[local]",5c2d3f76.c2b,2,"",2019-01-02 22:47:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:47:18.879 UTC,,,3116,"[local]",5c2d3f76.c2c,1,"",2019-01-02 22:47:18 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:18.879 UTC,"postgres","postgres",3116,"[local]",5c2d3f76.c2c,2,"",2019-01-02 22:47:18 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,""
2019-01-02 22:47:19.133 UTC,,,3104,,5c2d3f76.c20,4,,2019-01-02 22:47:18 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:19.133 UTC,,,82,,5c2d3ab1.52,946,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:19.134 UTC,,,3104,,5c2d3f76.c20,5,,2019-01-02 22:47:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019C38: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:19.187 UTC,,,3119,,5c2d3f77.c2f,1,,2019-01-02 22:47:19 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:19.453 UTC,,,3122,"[local]",5c2d3f77.c32,1,"",2019-01-02 22:47:19 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:19.454 UTC,"postgres","postgres",3122,"[local]",5c2d3f77.c32,2,"authentication",2019-01-02 22:47:19 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:20.938 UTC,,,3119,,5c2d3f77.c2f,2,,2019-01-02 22:47:19 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:20.938 UTC,,,3104,,5c2d3f76.c20,6,,2019-01-02 22:47:18 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019CA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:21.284 UTC,,,3127,,5c2d3f78.c37,1,,2019-01-02 22:47:20 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:23.829 UTC,,,82,,5c2d3ab1.52,947,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3118) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:23.829 UTC,,,82,,5c2d3ab1.52,948,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:23.829 UTC,"postgres","postgres",3122,"[local]",5c2d3f77.c32,3,"idle",2019-01-02 22:47:19 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:23.839 UTC,,,82,,5c2d3ab1.52,949,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:24.459 UTC,,,3128,,5c2d3f7c.c38,1,,2019-01-02 22:47:24 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:24.519 UTC,,,3128,,5c2d3f7c.c38,2,,2019-01-02 22:47:24 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:24.526 UTC,,,3128,,5c2d3f7c.c38,3,,2019-01-02 22:47:24 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:24.640 UTC,,,3128,,5c2d3f7c.c38,4,,2019-01-02 22:47:24 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:24.641 UTC,,,82,,5c2d3ab1.52,950,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:24.641 UTC,,,3128,,5c2d3f7c.c38,5,,2019-01-02 22:47:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019CA8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:24.698 UTC,,,3133,,5c2d3f7c.c3d,1,,2019-01-02 22:47:24 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:26.077 UTC,,,3133,,5c2d3f7c.c3d,2,,2019-01-02 22:47:24 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:26.077 UTC,,,3128,,5c2d3f7c.c38,6,,2019-01-02 22:47:24 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019D18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:26.603 UTC,,,3136,,5c2d3f7e.c40,1,,2019-01-02 22:47:26 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:28.669 UTC,,,3138,"[local]",5c2d3f80.c42,1,"",2019-01-02 22:47:28 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:28.669 UTC,"postgres","postgres",3138,"[local]",5c2d3f80.c42,2,"authentication",2019-01-02 22:47:28 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:28.674 UTC,"postgres","postgres",3138,"[local]",5c2d3f80.c42,3,"idle",2019-01-02 22:47:28 UTC,,0,LOG,00000,"disconnection: session time: 0:00:00.005 user=postgres database=postgres host=[local]",,,,,,,,,"pg_isready"
2019-01-02 22:47:29.168 UTC,,,3139,"[local]",5c2d3f81.c43,1,"",2019-01-02 22:47:29 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:29.169 UTC,"postgres","postgres",3139,"[local]",5c2d3f81.c43,2,"authentication",2019-01-02 22:47:29 UTC,3/2,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:29.256 UTC,,,82,,5c2d3ab1.52,951,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3132) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:29.256 UTC,,,82,,5c2d3ab1.52,952,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:29.256 UTC,"postgres","postgres",3139,"[local]",5c2d3f81.c43,3,"idle",2019-01-02 22:47:29 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:29.265 UTC,,,82,,5c2d3ab1.52,953,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:29.654 UTC,,,3144,,5c2d3f81.c48,1,,2019-01-02 22:47:29 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:29.711 UTC,,,3144,,5c2d3f81.c48,2,,2019-01-02 22:47:29 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:29.754 UTC,,,3144,,5c2d3f81.c48,3,,2019-01-02 22:47:29 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:29.952 UTC,,,3144,,5c2d3f81.c48,4,,2019-01-02 22:47:29 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:29.953 UTC,,,82,,5c2d3ab1.52,954,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:29.954 UTC,,,3144,,5c2d3f81.c48,5,,2019-01-02 22:47:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019D18: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:29.996 UTC,,,3149,,5c2d3f81.c4d,1,,2019-01-02 22:47:29 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:31.512 UTC,,,3149,,5c2d3f81.c4d,2,,2019-01-02 22:47:29 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:31.512 UTC,,,3144,,5c2d3f81.c48,6,,2019-01-02 22:47:29 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019D88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:31.853 UTC,,,3152,,5c2d3f83.c50,1,,2019-01-02 22:47:31 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:34.354 UTC,,,82,,5c2d3ab1.52,955,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3148) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:34.354 UTC,,,82,,5c2d3ab1.52,956,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:34.362 UTC,,,82,,5c2d3ab1.52,957,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:34.759 UTC,,,3153,,5c2d3f86.c51,1,,2019-01-02 22:47:34 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:34.863 UTC,,,3153,,5c2d3f86.c51,2,,2019-01-02 22:47:34 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:34.870 UTC,,,3153,,5c2d3f86.c51,3,,2019-01-02 22:47:34 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:35.281 UTC,,,3153,,5c2d3f86.c51,4,,2019-01-02 22:47:34 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:35.282 UTC,,,82,,5c2d3ab1.52,958,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:35.283 UTC,,,3153,,5c2d3f86.c51,5,,2019-01-02 22:47:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019D88: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:35.399 UTC,,,3158,,5c2d3f87.c56,1,,2019-01-02 22:47:35 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:36.769 UTC,,,3158,,5c2d3f87.c56,2,,2019-01-02 22:47:35 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:36.853 UTC,,,3153,,5c2d3f86.c51,6,,2019-01-02 22:47:34 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019DF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:37.212 UTC,,,3161,,5c2d3f88.c59,1,,2019-01-02 22:47:36 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:39.357 UTC,,,3162,"[local]",5c2d3f8b.c5a,1,"",2019-01-02 22:47:39 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:39.358 UTC,"postgres","postgres",3162,"[local]",5c2d3f8b.c5a,2,"authentication",2019-01-02 22:47:39 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:40.104 UTC,,,82,,5c2d3ab1.52,959,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3157) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:40.104 UTC,,,82,,5c2d3ab1.52,960,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:40.104 UTC,"postgres","postgres",3162,"[local]",5c2d3f8b.c5a,3,"idle",2019-01-02 22:47:39 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:40.114 UTC,,,82,,5c2d3ab1.52,961,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:40.756 UTC,,,3167,,5c2d3f8c.c5f,1,,2019-01-02 22:47:40 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:40.816 UTC,,,3167,,5c2d3f8c.c5f,2,,2019-01-02 22:47:40 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:40.854 UTC,,,3167,,5c2d3f8c.c5f,3,,2019-01-02 22:47:40 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:40.961 UTC,,,3167,,5c2d3f8c.c5f,4,,2019-01-02 22:47:40 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:40.962 UTC,,,82,,5c2d3ab1.52,962,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:40.962 UTC,,,3167,,5c2d3f8c.c5f,5,,2019-01-02 22:47:40 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019DF8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:40.998 UTC,,,3172,,5c2d3f8c.c64,1,,2019-01-02 22:47:40 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:42.453 UTC,,,3172,,5c2d3f8c.c64,2,,2019-01-02 22:47:40 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:42.453 UTC,,,3167,,5c2d3f8c.c5f,6,,2019-01-02 22:47:40 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019E68: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:42.878 UTC,,,3175,,5c2d3f8e.c67,1,,2019-01-02 22:47:42 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:45.501 UTC,,,82,,5c2d3ab1.52,963,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3171) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:45.501 UTC,,,82,,5c2d3ab1.52,964,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:45.508 UTC,,,82,,5c2d3ab1.52,965,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:45.954 UTC,,,3176,,5c2d3f91.c68,1,,2019-01-02 22:47:45 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:46.056 UTC,,,3176,,5c2d3f91.c68,2,,2019-01-02 22:47:45 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:46.068 UTC,,,3176,,5c2d3f91.c68,3,,2019-01-02 22:47:45 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:46.162 UTC,,,3176,,5c2d3f91.c68,4,,2019-01-02 22:47:45 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:46.162 UTC,,,82,,5c2d3ab1.52,966,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:46.163 UTC,,,3176,,5c2d3f91.c68,5,,2019-01-02 22:47:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019E68: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:46.193 UTC,,,3181,,5c2d3f92.c6d,1,,2019-01-02 22:47:46 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:47.788 UTC,,,3181,,5c2d3f92.c6d,2,,2019-01-02 22:47:46 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:47.789 UTC,,,3176,,5c2d3f91.c68,6,,2019-01-02 22:47:45 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019ED8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:48.284 UTC,,,3184,,5c2d3f93.c70,1,,2019-01-02 22:47:47 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:49.153 UTC,,,3185,"[local]",5c2d3f95.c71,1,"",2019-01-02 22:47:49 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:49.154 UTC,"postgres","postgres",3185,"[local]",5c2d3f95.c71,2,"authentication",2019-01-02 22:47:49 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:50.652 UTC,,,82,,5c2d3ab1.52,967,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3180) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:50.652 UTC,,,82,,5c2d3ab1.52,968,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:50.652 UTC,"postgres","postgres",3185,"[local]",5c2d3f95.c71,3,"idle",2019-01-02 22:47:49 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:47:50.660 UTC,,,82,,5c2d3ab1.52,969,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:50.901 UTC,,,3190,,5c2d3f96.c76,1,,2019-01-02 22:47:50 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:50.980 UTC,,,3190,,5c2d3f96.c76,2,,2019-01-02 22:47:50 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:50.986 UTC,,,3190,,5c2d3f96.c76,3,,2019-01-02 22:47:50 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:51.289 UTC,,,3190,,5c2d3f96.c76,4,,2019-01-02 22:47:50 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:51.289 UTC,,,82,,5c2d3ab1.52,970,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:51.290 UTC,,,3190,,5c2d3f96.c76,5,,2019-01-02 22:47:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019ED8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:51.367 UTC,,,3195,,5c2d3f97.c7b,1,,2019-01-02 22:47:51 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:53.189 UTC,,,3195,,5c2d3f97.c7b,2,,2019-01-02 22:47:51 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:53.189 UTC,,,3190,,5c2d3f96.c76,6,,2019-01-02 22:47:50 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019F48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:53.549 UTC,,,3198,,5c2d3f99.c7e,1,,2019-01-02 22:47:53 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:47:55.954 UTC,,,82,,5c2d3ab1.52,971,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3194) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:47:55.954 UTC,,,82,,5c2d3ab1.52,972,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:47:55.964 UTC,,,82,,5c2d3ab1.52,973,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:47:56.467 UTC,,,3203,,5c2d3f9c.c83,1,,2019-01-02 22:47:56 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:47:56.561 UTC,,,3203,,5c2d3f9c.c83,2,,2019-01-02 22:47:56 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:47:56.567 UTC,,,3203,,5c2d3f9c.c83,3,,2019-01-02 22:47:56 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:47:56.737 UTC,,,3203,,5c2d3f9c.c83,4,,2019-01-02 22:47:56 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:47:56.738 UTC,,,82,,5c2d3ab1.52,974,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:47:56.738 UTC,,,3203,,5c2d3f9c.c83,5,,2019-01-02 22:47:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019F48: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:56.797 UTC,,,3208,,5c2d3f9c.c88,1,,2019-01-02 22:47:56 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:47:58.206 UTC,,,3211,"[local]",5c2d3f9e.c8b,1,"",2019-01-02 22:47:58 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:47:58.206 UTC,"postgres","postgres",3211,"[local]",5c2d3f9e.c8b,2,"authentication",2019-01-02 22:47:58 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:47:58.853 UTC,,,3208,,5c2d3f9c.c88,2,,2019-01-02 22:47:56 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:47:58.855 UTC,,,3203,,5c2d3f9c.c83,6,,2019-01-02 22:47:56 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019FB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:47:59.200 UTC,,,3216,,5c2d3f9e.c90,1,,2019-01-02 22:47:58 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:48:01.144 UTC,,,82,,5c2d3ab1.52,975,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3207) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:48:01.144 UTC,,,82,,5c2d3ab1.52,976,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:48:01.144 UTC,"postgres","postgres",3211,"[local]",5c2d3f9e.c8b,3,"idle",2019-01-02 22:47:58 UTC,3/0,0,WARNING,57P02,"terminating connection because of crash of another server process","The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.","In a moment you should be able to reconnect to the database and repeat your command.",,,,,,,"Patroni"
2019-01-02 22:48:01.164 UTC,,,82,,5c2d3ab1.52,977,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:48:01.754 UTC,,,3217,,5c2d3fa1.c91,1,,2019-01-02 22:48:01 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:48:01.804 UTC,,,3217,,5c2d3fa1.c91,2,,2019-01-02 22:48:01 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:48:01.809 UTC,,,3217,,5c2d3fa1.c91,3,,2019-01-02 22:48:01 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:48:01.928 UTC,,,3217,,5c2d3fa1.c91,4,,2019-01-02 22:48:01 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:48:01.929 UTC,,,82,,5c2d3ab1.52,978,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:48:01.930 UTC,,,3217,,5c2d3fa1.c91,5,,2019-01-02 22:48:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/14019FB8: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:48:01.988 UTC,,,3222,,5c2d3fa1.c96,1,,2019-01-02 22:48:01 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:48:04.133 UTC,,,3222,,5c2d3fa1.c96,2,,2019-01-02 22:48:01 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:48:04.133 UTC,,,3217,,5c2d3fa1.c91,6,,2019-01-02 22:48:01 UTC,1/0,0,LOG,00000,"invalid record length at 0/1401A040: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:48:04.380 UTC,,,3225,,5c2d3fa4.c99,1,,2019-01-02 22:48:04 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:48:06.595 UTC,,,82,,5c2d3ab1.52,979,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3221) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:48:06.595 UTC,,,82,,5c2d3ab1.52,980,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2019-01-02 22:48:06.611 UTC,,,82,,5c2d3ab1.52,981,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"all server processes terminated; reinitializing",,,,,,,,,""
2019-01-02 22:48:07.162 UTC,,,3226,,5c2d3fa7.c9a,1,,2019-01-02 22:48:07 UTC,,0,LOG,00000,"database system was interrupted while in recovery at log time 2019-01-02 22:26:54 UTC",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2019-01-02 22:48:07.271 UTC,,,3226,,5c2d3fa7.c9a,2,,2019-01-02 22:48:07 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2019-01-02 22:48:07.277 UTC,,,3226,,5c2d3fa7.c9a,3,,2019-01-02 22:48:07 UTC,1/0,0,LOG,00000,"redo starts at 0/13000028",,,,,,,,,""
2019-01-02 22:48:07.442 UTC,,,3226,,5c2d3fa7.c9a,4,,2019-01-02 22:48:07 UTC,1/0,0,LOG,00000,"consistent recovery state reached at 0/14003878",,,,,,,,,""
2019-01-02 22:48:07.443 UTC,,,82,,5c2d3ab1.52,982,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2019-01-02 22:48:07.444 UTC,,,3226,,5c2d3fa7.c9a,5,,2019-01-02 22:48:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/1401A040: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:48:07.462 UTC,,,3231,,5c2d3fa7.c9f,1,,2019-01-02 22:48:07 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/14000000 on timeline 2",,,,,,,,,""
2019-01-02 22:48:09.053 UTC,,,3234,"[local]",5c2d3fa9.ca2,1,"",2019-01-02 22:48:09 UTC,,0,LOG,00000,"connection received: host=[local]",,,,,,,,,""
2019-01-02 22:48:09.054 UTC,"postgres","postgres",3234,"[local]",5c2d3fa9.ca2,2,"authentication",2019-01-02 22:48:09 UTC,3/1,0,LOG,00000,"connection authorized: user=postgres database=postgres",,,,,,,,,""
2019-01-02 22:48:09.651 UTC,,,3231,,5c2d3fa7.c9f,2,,2019-01-02 22:48:07 UTC,,0,FATAL,XX000,"could not receive data from WAL stream: SSL SYSCALL error: EOF detected",,,,,,,,,""
2019-01-02 22:48:09.653 UTC,,,3226,,5c2d3fa7.c9a,6,,2019-01-02 22:48:07 UTC,1/0,0,LOG,00000,"invalid record length at 0/1401A0B0: wanted 24, got 0",,,,,,,,,""
2019-01-02 22:48:09.878 UTC,,,3239,,5c2d3fa9.ca7,1,,2019-01-02 22:48:09 UTC,,0,FATAL,XX000,"could not connect to the primary server: FATAL: the database system is in recovery mode
FATAL: the database system is in recovery mode",,,,,,,,,""
2019-01-02 22:48:12.100 UTC,,,82,,5c2d3ab1.52,983,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"worker process: bg_mon (PID 3230) was terminated by signal 11: Segmentation fault","Failed process was running: WITH locked_processes AS (SELECT this.pid as pid, ARRAY(SELECT unnest(pg_blocking_pids(this.pid)) ORDER BY 1) AS locked_by FROM pg_locks this WHERE NOT this.granted), lockers AS (SELECT DISTINCT unnest(locked_by) FROM locked_processes) SELECT pid, datname::text, usename::text, round(extract(epoch from (now() - COALESCE(xact_start, CASE WHEN state = 'active' THEN query_start ELSE NULL END))))::int AS age, NULLIF(array_to_string(locked_by, ','), ''), CASE WHEN state = 'idle in transaction' THEN CASE WHEN xact_start != state_change THEN 'idle in transaction ' || CAST( abs(round(extract(epoch from (now() - state_change)))) AS text) ELSE state END WHEN state = 'active' THEN query ELSE state END::text AS query, pid IN (SELECT * FROM lockers), CASE backend_type WHEN 'autovacuum worker' THEN 1 WHEN 'walsender' THEN 8 WHEN 'client backend' THEN 2 ELSE -2 END FROM pg_stat_activity a LEFT JOIN locked_processes USING (pid) WHERE pid != pg_backend_pid() AND backend_type IN ('client backend', 'autovacuum worker', 'walsend",,,,,,,,""
2019-01-02 22:48:12.100 UTC,,,82,,5c2d3ab1.52,984,,2019-01-02 22:26:57 UTC,,0,LOG,00000,"terminating any other active server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment