Thanks Jens for info, i was not providing replicate_id explicitly in config 
file which is causing change of configuration body each time, hence new 
local documents were creating. i have provided the replicate_id and now its 
working as expected.

Thanks Traun, looks like no issue when we have no change config file.

*am curious to know what is _rev field in local document, like *"_rev": 
"0-2",

On Wednesday, September 14, 2016 at 10:24:26 PM UTC+5:30, Traun Leyden 
wrote:
>
>
> Jens,
>
> That might be an issue, thanks for pointing that out.
>
> I filed a ticket to look into that -- 
> https://github.com/couchbaselabs/sg-replicate/issues/41
>
> On Wed, Sep 14, 2016 at 9:49 AM, Jens Alfke <[email protected] 
> <javascript:>> wrote:
>
>>
>> On Sep 13, 2016, at 10:45 PM, arihant rk <[email protected] <javascript:>> 
>> wrote:
>>
>> Thanks jens for quick reply, just a thought, cant sg-replicate update 
>> same local document instead of creating new document with reference to 
>> replication id.
>>
>>
>> It should use the same local document on every replication, assuming the 
>> replication parameters are the same (direction, continuous, filters, etc.). 
>> If it’s creating a new document every time it replicates, that would be a 
>> bug.
>>
>> —Jens
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Couchbase Mobile" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mobile-couchbase/F3AB8A09-B01A-47BB-8B37-696ED23F8A43%40couchbase.com
>>  
>> <https://groups.google.com/d/msgid/mobile-couchbase/F3AB8A09-B01A-47BB-8B37-696ED23F8A43%40couchbase.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/e4268e93-0f01-4de7-a454-d5ab6b11cfac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to