You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-09-05 01:09:09.129 GMT [256] FATAL: terminating connection due to administrator command
2024-09-05 01:09:09.129 GMT [253] FATAL: terminating connection due to administrator command
2024-09-05 01:09:09.131 GMT [245] FATAL: terminating connection due to administrator command
2024-09-05 01:09:09.132 GMT [1] LOG: background worker "logical replication launcher" (PID 63) exited with exit code 1
2024-09-05 01:09:09.139 GMT [58] LOG: shutting down
2024-09-05 01:09:11.104 GMT [296] LOG: PID 264 in cancel request did not match any process
2024-09-05 01:09:11.105 GMT [297] LOG: PID 263 in cancel request did not match any process
2024-09-05 01:09:11.106 GMT [298] LOG: PID 283 in cancel request did not match any process
... a whole lot more of the same ...
2024-09-05 01:09:11.133 GMT [347] FATAL: the database system is shutting down
2024-09-05 01:09:11.134 GMT [348] FATAL: the database system is shutting down
2024-09-05 01:09:11.133 GMT [346] FATAL: the database system is shutting down
... a whole lot more of the same ...
Eventually, the default timeout of docker stop kills the Postgres container and Electric finally sees the broken database connection:
I've taken another look at this. Can't say with certainty whether we can fix this but it looks like a benign issue where Postgres keeps sending keepalive messages to the replica until its internal shutdown timeout expires.
Somewhat of a bug but more like a nuisance because it only an issue when Postgres is shutting down.
When running Electric locally, stop the Postgres container and observe a seemingly endless stream of Electric logs that look similar to this:
Postgres container logs look similarly redundant:
Eventually, the default timeout of
docker stop
kills the Postgres container and Electric finally sees the broken database connection:The text was updated successfully, but these errors were encountered: