PostgreSQL received fast shutdown request by azure_superuser

Brehmer, Christian 21 Reputation points
2021-03-11T09:17:14.213+00:00

Hi,

yesterday we've noticed a data loss with one of our postgresql for azure databases. In the server logs we were able to track it down to the following:

2021-03-10 19:24:38 UTC-60491cf6.1e380-LOG: connection received: host=127.0.0.1 port=33713 pid=123776
2021-03-10 19:24:39 UTC-60491cf6.1e380-LOG: connection authorized: user=azure_superuserdatabase=postgres SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, compression=off)
2021-03-10 19:24:40 UTC-6000b022.24-LOG: received fast shutdown request
2021-03-10 19:24:40 UTC-6000b022.24-LOG: aborting any active transactions
2021-03-10 19:24:40 UTC-60491ceb.1e320-FATAL: terminating connection due to administrator command
[and so on]

is this expected behavior?

Thanks in advance
Christian

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Navtej Singh Saini 4,226 Reputation points Microsoft Employee Moderator
    2021-03-12T01:22:55.853+00:00

    @RuttorfChristian-9443

    This could have happened cause of the planned maintenance for the underlying resources for the Azure Database for Postgresql. Here is the document that explains the same.

    76909-image.png

    You need to contact support to find if that exactly happened as they have telemetry to find that. Also the best approach to prevent this is below:

    1) Retry Logic
    76915-image.png

    2) Planned restart notification set up
    76973-image.png

    Hope this helps.

    Regards
    Navtej S


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.