Re: Two-phase update of restart_lsn in LogicalConfirmReceivedLocation

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Arseny Sher <a(dot)sher(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Two-phase update of restart_lsn in LogicalConfirmReceivedLocation
Date: 2018-03-07 22:20:16
Message-ID: CA+TgmoZ-SW3AEMFYjSZRdLJhB3kH2=h0sG1AHdjJRxtGEcREgA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 1, 2018 at 2:03 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> So I can't say it's definitely impossible. It seems astonishingly unlikely,
> but that's not always good enough.

Race conditions tend to happen a lot more often than one might think.
If there's a theoretical opportunity for this to go wrong, it would
probably be a good idea to fix it. Not that I'm volunteering.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-03-07 23:17:15 Re: faster testing with symlink installs
Previous Message Robert Haas 2018-03-07 22:18:19 Re: unused includes in test_decoding