couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: Lose doc changes periodically
Date Sat, 29 Oct 2011 12:04:59 GMT
If you're editing the same doc on both servers, you may be introducing
conflicts. If so, then your 'missing documents' are just the losing
revisions in the conflict. You can see if you have conflicts by adding
?conflicts=true to the end of your GET /db/doc request and you can see
the conflicts themselves with ?open_revs=all.


On 29 October 2011 10:36, Alexey Ganzha <> wrote:
> Hi guys.
> I have 2 couch instances: 1 at home and 1 at production server.
> I edit docs on both of them periodically.
> Sinchronization is done only from home machine to and from production
> machine several times a day.
> I loose some changes from time to time. When i edit doc at home and push it
> to production the change are appeared immediatelly on production.
> doc['_rev'] are
> equal on both instances. When, after several synchronization and packing,
> the changes are dissapeared on both instances.
> Can`t figured it out yet.
> May be i missed something about synchronization strategy.
> By the way, the update sequences are different at home and at production.

View raw message