Re: condition variable cleanup and subtransactions

2017-12-21 Thread Robert Haas
On Thu, Dec 21, 2017 at 6:46 AM, Thomas Munro wrote: > On Fri, Dec 22, 2017 at 12:00 AM, Andres Freund wrote: >> Oh. This seems to be a condition variable bug independent of PHJ. The >> problem is that the DSM segment etc all get cleaned up in >> *subtransaction* abort. >> >> Afaict it's a bug th

Re: condition variable cleanup and subtransactions

2017-12-21 Thread Thomas Munro
On Fri, Dec 22, 2017 at 12:00 AM, Andres Freund wrote: > Oh. This seems to be a condition variable bug independent of PHJ. The > problem is that the DSM segment etc all get cleaned up in > *subtransaction* abort. > > Afaict it's a bug that AbortTransaction() does > ConditionVariableCancelSleep() b