[OSM-dev] Conflict resolution (was Re: created_by considered harmfull)

80n 80n80n at gmail.com
Thu Aug 9 15:26:39 BST 2007


On 8/9/07, Frederik Ramm <frederik at remote.org> wrote:
>
> Hi,
>
> > Note that the above scenario is fragile especially because there
> > is always the possibility for a 3th commit between you resolving the
> > conflicts and committing.
>
> This could be avoided by sending the version number your edit is
> based on to the server which would then only accept your edit if that
> version is still current, and reject it otherwise. (DB people have a
> term for this but I forgot... lazy locking or something?)


It's called optimistic locking.

It's the responsibility of the server to enforce it - expecting the clients
to do it is not a winning strategy.



Bye
> Frederik
>
> --
> Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070809/069d416a/attachment.html>


More information about the dev mailing list