[OSM-dev] Minute Diffs Broken

Greg Troxel gdt at ir.bbn.com
Tue May 5 02:27:02 BST 2009


openstreetmap-dev at scd.debian.net writes:

> Would this work?
>
> How about the situation:
>
> Changeset A creates a node
>
> Changeset B uses the node in a way
>
> Changeset B closes
>
> (Later) Changeset A closes

Transactions are intended to avoid this.  It may be that the changeset B
transaction shoudl be reading the node, in which case pgsql should
prevent the commit of changeset B until A is closed.  Or more likely B
could not see the node in changset A until A commits - this is the READ
COMMITTED property, or the avoidance of "dirty reads".

Have you seen this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090504/229dc498/attachment.pgp>


More information about the dev mailing list