How to solve the problem of one backend process crashing and causing other processes to restart? - Mailing list pgsql-hackers

From yuansong
Subject How to solve the problem of one backend process crashing and causing other processes to restart?
Date
Msg-id 37b7a067.1773.18bc68459d2.Coremail.yyuansong@126.com
Whole thread Raw
Responses Re: How to solve the problem of one backend process crashing and causing other processes to restart?
List pgsql-hackers

In PostgreSQL, when a backend process crashes, it can cause other backend processes to also require a restart, primarily to ensure data consistency. I understand that the correct approach is to analyze and identify the cause of the crash and resolve it. However, it is also important to be able to handle a backend process crash without affecting the operation of other processes, thus minimizing the scope of negative impact and improving availability. To achieve this goal, could we mimic the Oracle process by introducing a "pmon" process dedicated to rolling back crashed process transactions and performing resource cleanup? I wonder if anyone has attempted such a strategy or if there have been previous discussions on this topic.

pgsql-hackers by date:

Previous
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Synchronizing slots from primary to standby
Next
From: Thomas Munro
Date:
Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel