From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: StandbyAcquireAccessExclusiveLock doesn't necessarily |
Date: | 2018-09-11 16:50:06 |
Message-ID: | 6395.1536684606@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2018-09-11 12:26:44 -0400, Tom Lane wrote:
>> Well, there remains the fact that we've seen no field reports that seem
>> to trace to failure-to-acquire-AEL since 9.6 came out. So arguing that
>> this *could* be a probable scenario fails to comport with the available
>> evidence.
> It might even be that we've seen reports of this, but didn't attribute
> the errors correctly.
Yeah, that's certainly possible. One good thing about the change I'm
recommending is that the symptom would be very clear (ie, "out of shared
memory" from the startup process). If we do start getting reports of it,
we'd know where the problem is.
>> My inclination is to fix it as I've suggested and wait to see if there
>> are field complaints before expending a whole lot of effort to create
>> a better solution. In any case, I am not willing to create that better
>> solution myself, and neither is Robert; are you?
> On master I'd be ok with that, but on the backbranches that seems like
> playing with user's setups.
I am not sure which part of "I will not fix this" you didn't understand.
*If* we get clear evidence that it happens for a non-negligible number
of users, I might be willing to reconsider. Right now my reading of
the evidence is that it hasn't, and won't; so I judge that putting in
a complex mechanism to try to cope with the situation would be a net
loss for reliability. Back-patching such a mechanism seems like it'd
be an even worse engineering decision.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-09-11 16:51:36 | Re: StandbyAcquireAccessExclusiveLock doesn't necessarily |
Previous Message | Robert Haas | 2018-09-11 16:43:52 | Re: Prevent concurrent DROP SCHEMA when certain objects are being initially created in the namespace |