incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Barnes <mrtr...@gmail.com>
Subject Re: how to ignore conflicts?
Date Fri, 04 Mar 2011 01:27:51 GMT
Perhaps you need a process to resolve conflicts?

On 4/03/2011 12:19 PM, Mark Hahn wrote:
> I have a situation where I only want to know the latest version of a
> doc and I don't care about any older versions.  I don't care about
> conflicts.
>
> As far as I can tell there is no way to ignore conflicts in couch.  So
> I have to read an old version, ignore everything but the version
> value, and then save my new version.  Since this isn't atomic I have
> to check for a conflict and repeat it.  I have to do this in a number
> of places in my code.
>
> I was just wondering if anyone knows of a more elegant way to do this.
>   Has anyone else found a need for this?
>

Mime
View raw message