On Wed, May 8, 2019 at 6:56 AM Thomas Munro <thomas.mu...@gmail.com> wrote: > On Wed, May 8, 2019 at 5:46 AM Tom Lane <t...@sss.pgh.pa.us> wrote: > > I'd have to say that my first suspicion falls on bb16aba50 ... > > Investigating.
Reproduced here. Once the system reaches a state where it's leaking (which happens only occasionally for me during installcheck-parallel), it keeps leaking for future SSI transactions. The cause is SxactGlobalXmin getting stuck. The attached fixes it for me. I can't remember why on earth I made that change, but it is quite clearly wrong: you have to check every transaction, or you might never advance SxactGlobalXmin. -- Thomas Munro https://enterprisedb.com
0001-Fix-SxactGlobalXmin-tracking.patch
Description: Binary data