You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Alexey Ganzha <tr...@gmail.com> on 2011/10/29 11:36:48 UTC

Lose doc changes periodically

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.

Re: Lose doc changes periodically

Posted by Alexey Ganzha <tr...@gmail.com>.
Thank You.
I get it.

On 10/29/2011 03:04 PM, Robert Newson wrote:
> 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.
>
> B.
>
> On 29 October 2011 10:36, Alexey Ganzha<tr...@gmail.com>  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.
>>


Re: Lose doc changes periodically

Posted by Robert Newson <rn...@apache.org>.
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.

B.

On 29 October 2011 10:36, Alexey Ganzha <tr...@gmail.com> 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.
>