Re:BUG #17392: archiver process exited with exit code 2 was unexpectedly cause for immediate shutdown request

Sergei Kornilov <sk@zsrv.org>

From: Sergei Kornilov <sk@zsrv.org>
To: PG Bug reporting form <noreply@postgresql.org>
Cc: alexander.ulaev@rtlabs.ru, pgsql-bugs@lists.postgresql.org
Date: 2022-02-03T08:52:02Z
Lists: pgsql-bugs
Hello

> 2022-02-01 16:12:24 MSK [16959] LOG: received immediate shutdown request

Please prove by patroni logs, that not patroni commanded immediate shutdown. As far as I remember, there should be a mark about the request for stopping the database immediatly.

Seems unrelated to archiver. Patroni is able to command immediate shutdown, immediate shutdown is a kind of "terminated abnormally". The sequence of logs looks completely correct.

regards, Sergei