Re: race condition when writing pg_control - Mailing list pgsql-hackers

From Tom Lane
Subject Re: race condition when writing pg_control
Date
Msg-id 2136775.1715885450@sss.pgh.pa.us
Whole thread Raw
In response to Re: race condition when writing pg_control  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: race condition when writing pg_control
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> I suspect it will be difficult to investigate this one too much further
> unless we can track down a copy of the control file with the bad checksum.
> Other than searching for any new code that isn't doing the appropriate
> locking, maybe we could search the buildfarm for any other occurrences.  I
> also seem some threads concerning whether the way we are reading/writing
> the control file is atomic.

The intention was certainly always that it be atomic.  If it isn't
we have got *big* trouble.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: race condition when writing pg_control
Next
From: Andres Freund
Date:
Subject: Re: race condition when writing pg_control