Replication finishes but it goes into the IDLE state while it's running.
Sometimes, I manually update some CouchDB documents on server side. Might
be manual update of documents break the update sequences and database
syncing becomes IDLE while it's running but still not finished.
*Actual Behavior *should be, finishing complete replication process in one
time without going to IDLE state.
In this way, I am calling filter function for replication.
/**Start Filtered Pull Replication here.*/
Replication pullReplication = mDatabaseLocal
.createPullReplication(syncUrl);
pullReplication.setContinuous(true);
pullReplication.setFilter("userLevelFilter/docFilter");
pullReplication.setFilterParams(map);
pullReplication.start();
pullReplication.addChangeListener(this);
On Wednesday, June 4, 2014 1:18:00 AM UTC+5:30, Traun Leyden wrote:
>
> I'm not sure what problem you are trying to describe -- are you saying
> that the replication never finishes, or that it goes into the IDLE state
> while it's running?
>
> Can you give a precise description of:
>
> - How to reproduce, including an example of your server side filter and
> how you are kicking off the replication in your java code.
> - Actual Behavior
> - Expected Behavior
>
>
>
> On Tue, Jun 3, 2014 at 2:53 AM, Pankaj Jakhar <[email protected]
> <javascript:>> wrote:
>
>> I am replicating documents from CouchDB at server side to CBL at Android
>> Platform. I have created a filter on server side to
>> replicate filtered documents but the replication process becomes IDLE
>> itself while full data has not been replicated.
>>
>> What can be the cause?
>>
>> --
>> 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/9b0d6369-fd6f-4bc6-be15-a2bc406e942a%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/mobile-couchbase/9b0d6369-fd6f-4bc6-be15-a2bc406e942a%40googlegroups.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/9f1ef9f7-0a66-4b43-a5ae-6e6c7470eb1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.