Re: Hot standby, race condition between recovery snapshot and commit

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hot standby, race condition between recovery snapshot and commit
Date: 2009-11-15 20:10:45
Message-ID: 1258315845.14054.2729.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 2009-11-15 at 21:37 +0200, Heikki Linnakangas wrote:

> Am I missing anything?

Will review.

> I also experimented with including the running-xacts information in the
> checkpoint record itself. That somehow feels more straightforward to me,
> but it wasn't really any less code, and it wouldn't allow us to do the
> running-xacts snapshot as multiple WAL records, so the current approach
> with separate running-xacts record is better.

Agreed, more modular.

--
Simon Riggs www.2ndQuadrant.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-11-15 20:10:53 Re: Summary and Plan for Hot Standby
Previous Message Greg Stark 2009-11-15 20:09:00 Re: named parameters in SQL functions