Re: pgsql: Fix race condition in snapshot caching when 2PC is used.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix race condition in snapshot caching when 2PC is used.
Date: 2020-08-18 23:43:24
Message-ID: 1355915.1597794204@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Fix race condition in snapshot caching when 2PC is used.

Uh, is it really okay to modify that variable with only shared
ProcArrayLock?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2020-08-18 23:45:32 Re: pgsql: snapshot scalability: cache snapshots using a xact completion co
Previous Message Andres Freund 2020-08-18 23:37:43 pgsql: Fix race condition in snapshot caching when 2PC is used.