You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Good day,
Is there a correct/suggested way of restarting a replication? Or calling stop, then start? It seems that calling stop doesn't immediately stop pending HTTP requests.
Regards,
Joey
Jens Alfke
unread,
Mar 31, 2014, 10:48:49 AM3/31/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Is there a correct/suggested way of restarting a replication? Or calling stop, then start?
Are you still on TouchDB? I’m really not sure what the answer was for that. In Couchbase Lite b3 you can call stop and then start.
It seems that calling stop doesn't immediately stop pending HTTP requests.
The replicator runs on a background thread so it won’t stop immediately, but it should stop very soon.
—Jens
dyowee
unread,
Mar 31, 2014, 4:34:40 PM3/31/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Yes sir, we are still using TouchDB for now. I still haven't been able to figure out why the replication stops (intermittent) after the PUT request for a checkpoint. So my workaround for now is to try to restart the replication if the 'completed' status hasn't changed for a couple of minutes.