pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Dan Ports <drkp@csail.mit.edu>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-hackers@postgresql.org
Subject: Re: SSI atomic commit
Date: Fri, 08 Jul 2011 00:33:28 +0300
Message-ID: <4E162628.6080100@enterprisedb.com> (raw)
In-Reply-To: <20110707212159.GF76634@csail.mit.edu>
References: <4E12FDA8020000250003EFC1@gw.wicourts.gov>
	<4E15D48A.7080203@enterprisedb.com>
	<4E159B5C020000250003F063@gw.wicourts.gov>
	<4E160005.1020300@enterprisedb.com>
	<4E161881.6090800@enterprisedb.com>
	<20110707212159.GF76634@csail.mit.edu>

On 08.07.2011 00:21, Dan Ports wrote:
> We should also apply the attached patch, which corrects a minor issue
> with the conditions for flagging transactions that could potentially
> make a snapshot unsafe.
>
> There's a small window wherein a transaction is committed but not yet
> on the finished list, and we shouldn't flag it as a potential conflict
> if so. We can also skip adding a doomed transaction to the list of
> possible conflicts because we know it won't commit.

Hmm, it's now also possible for the transaction to be prepared, and 
already visible to others, but not yet flagged as committed. Shouldn't 
those be included too?

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (26+ messages)  latest in thread

Message-ID: <4E162628.6080100@enterprisedb.com>
Permalink:  ../4E162628.6080100@enterprisedb.com/
Also on:    postgresql.org/message-id/4E162628.6080100@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, drkp@csail.mit.edu, Kevin.Grittner@wicourts.gov
  Subject: Re: SSI atomic commit
  In-Reply-To: <4E162628.6080100@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox