CBL2.0 Replication Usage

Hi,

The documentation show how to start the replicator in couchbase 2.0.
I’m using it in Xamarin en c#.

That is great to begin with that in a proof of concept, but when we begun to use it really, we have to face some real problems as :

  • What to do when the replicator launch an exception ?
  • Why can’t we do that Start(), Stop(), Start() ?
  • When do we need to use the method Stop() ?
  • What to do when the status is Busy and the replicator do nothing ?
  • What to do when a document is in the bucket (added from a mobile device) and the replicator won’t sync it (from another mobile device) ?
  • How to deal with the connectivity lost ? Do we need to Stop the replicator ? Do we need to restart it ? How ?

Is there some tools to force something, to understand if we are doing something wrong ?

As a starting point, I’m assuming that the replicator is working well, so I’m probably coding something wrongly, but how to know what is it ?

Regards

Steeve