From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Rework the way multixact truncations work |
Date: | 2015-09-23 18:57:02 |
Message-ID: | 20150923185702.GV295765@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andres Freund wrote:
> On 2015-09-23 15:03:05 -0300, Alvaro Herrera wrote:
> > Honestly, I wonder whether this message
> > ereport(LOG,
> > (errmsg("performing legacy multixact truncation"),
> > errdetail("Legacy truncations are sometimes performed when replaying WAL from an older primary."),
> > errhint("Upgrade the primary, it is susceptible to data corruption.")));
> > shouldn't rather be a PANIC. (The main reason not to, I think, is that
> > once you see this, there is no way to put the standby in a working state
> > without recloning).
>
> Huh? The behaviour in that case is still better than what we have in
> 9.3+ today (not delayed till the restartpoint). Don't see why that
> should be a panic. That'd imo make it pretty much impossible to upgrade
> a pair of primary/master where you normally upgrade the standby first?
>
> This is all moot given Robert's objection to backpatching this to
> 9.3/4.
I think we need to make a decision here. Is this a terribly serious
bug/misdesign that needs addressing? If so, we need to backpatch. If
not, then by all means lets leave it alone. I don't think it is a good
idea to leave it open if we think it's serious, which is what I think is
happening.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2015-09-23 19:00:30 | Re: Rework the way multixact truncations work |
Previous Message | Stephen Frost | 2015-09-23 18:54:03 | Re: CREATE POLICY and RETURNING |