Re: VM corruption on standby - Mailing list pgsql-hackers

From Tom Lane
Subject Re: VM corruption on standby
Date
Msg-id 872999.1755633341@sss.pgh.pa.us
Whole thread Raw
In response to Re: VM corruption on standby  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: VM corruption on standby
Re: VM corruption on standby
List pgsql-hackers
Andrey Borodin <x4mmm@yandex-team.ru> writes:
> I believe there is a bug with PageIsAllVisible(page) && visibilitymap_clear(). But I cannot prove it with an
injectionpoint test. Because injections points rely on CondVar, that per se creates corruption in critical section. So
I'mreading this discussion and wonder if CondVar will be fixed in some clever way or I'd better invent new injection
pointwait mechanism. 

Yeah, I was coming to similar conclusions in the reply I just sent:
we don't really want a policy that we can't put injection-point-based
delays inside critical sections.  So that infrastructure is leaving
something to be desired.

Having said that, the test script is also doing something we tell
people not to do, namely SIGKILL the postmaster.  Could we use
SIGQUIT (immediate shutdown) instead?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: VM corruption on standby
Next
From: Peter Eisentraut
Date:
Subject: Re: Generate GUC tables from .dat file