| From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: mvcc catalo gsnapshots and TopTransactionContext |
| Date: | 2014-02-06 21:53:34 |
| Message-ID: | 20140206215334.GL12016@awork2.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2014-02-06 16:35:07 -0500, Tom Lane wrote:
> > I wonder though, if we couldn't just stop doing the
> > RelationReloadIndexInfo() for nailed indexes.
>
> No; you're confusing nailed indexes with mapped indexes. There are nailed
> indexes that aren't on mapped catalogs, see the load_critical_index calls
> in RelationCacheInitializePhase3.
Oh. I'd somehow remembered nailed catalogs would be a subset of mapped
ones. But as you say, they are not. Not sure I like that, but it's
certainly set for now.
> > Do you plan to backpatch this? If so, even to 8.4?
> I'm of two minds about that. I think this is definitely a bug, but we
> do not currently have any evidence that there's an observable problem
> in practice. On the other hand, we certainly get reports of
> irreproducible issues from time to time, so I don't care to rule out
> the theory that some of them might be caused by faulty cache reloads.
> That possibility has to be balanced against the risk of introducing
> new issues with this patch.
>
> Thoughts?
Let's let it stew a while in master, there certainly are enough
subtleties around this that I'd hesitate to add it to a point release in
the not too far away future. Doesn't seem that urgent to me. But after
that I'd say lets backpatch it.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sean Chittenden | 2014-02-06 21:55:04 | Release schedule for 9.3.3? |
| Previous Message | Tom Lane | 2014-02-06 21:48:29 | Re: Recovery inconsistencies, standby much larger than primary |