Re: cheaper snapshots - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: cheaper snapshots
Date
Msg-id 4E319653020000250003F896@gw.wicourts.gov
Whole thread Raw
In response to Re: cheaper snapshots  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: cheaper snapshots
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> wrote:
> Wouldn't the same issue exist if one transaction is waiting for
> sync rep (synchronous_commit=on), and another is waiting for just
> a WAL flush (synchronous_commit=local)? I don't think that a
> synchronous_commit=off is required.
I think you're right -- basically, to make visibility atomic with
commit and allow a fast snapshot build based on that order, any new
commit request would need to block behind any pending request,
regardless of that setting.  At least, no way around that is
apparent to me.
-Kevin


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: cheaper snapshots
Next
From: "Kevin Grittner"
Date:
Subject: Re: cheaper snapshots