On Feb 1, 2016, at 10:46 AM, Todd Freese <[email protected]<mailto:[email protected]>> wrote:
Is there anything I need to do on the clients? You shouldn’t need to do anything. When the replicator starts, it reads its checkpoint from a doc stored on the remote server (ID looks like “_local/“ followed by a hex number.) If it’s not found or if the contents don’t match the local copy of the checkpoint, it decides it’s out of sync [sic] and starts over from scratch. If I try to sync with a new sg/cb server, one starting with a new empty database. all the docs from the clients are not getting sent to the server. Hm, that shouldn’t be happening. I see in my SG log: GET /shotbotdb/_changes?feed=normal&heartbeat=30000&style=all_docs&since=1399 Where is the since=1399 coming from? The client or the server? I would think the since value would be 0. 1399 is the saved last-sequence value, which is the main thing stored in the checkpoint. If the server database is new, the replicator shouldn’t be sending that. However, the request you’ve shown is part of a pull replication, not a push. The best thing to do would be to turn on SyncVerbose logging in CBL, then run the replication, and file an issue. (Paste the log output into a gist and put a link in the issue, please.) —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]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CD4F3249-992C-498D-B9F0-E4A0DB17BEC3%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
