Thanks Jens! Is there an open issue ticket I could track? Cheers! Justin
On Thursday, January 8, 2015 2:36:54 AM UTC-5, Jens Alfke wrote: > > It's actually just scanning all the doc/revision IDs from the server, not > downloading the document contents. > > But it shouldn't even be doing that. However, fixing this is trickier than > it sounds. Pasin is working on it currently. > > —Jens > > On Jan 7, 2015, at 8:30 PM, Justin Camp <[email protected] > <javascript:>> wrote: > > Hi guys. > > Is there a particular method to properly curate a prebuilt database so > existing documents don't sync? Here's what I'm doing: > > I run our app specifically set to only one channel so it syncs all the > data in that channel into the client DB. I then copy that db into the xcode > project and follow the steps in the documentation to load that db into the > client upon initial load. The client loads the data just fine, but when I > then go to sync other channels, it appears to be syncing all of the > documents that were pre-loaded. > > In other words, all prebuild data is being synced again from the server. > Is it just hand-shaking to check revisions against the server? > As these documents have not changed between the creation of the prebuilt > db and when I go to sync, I expect those documents not to sync as the > latest revisions should already be on the client. > > Am I missing something? > > Thanks, > Justin > > -- > 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/0d9a1056-56ee-4a00-b320-7e6df636d3a0%40googlegroups.com > > <https://groups.google.com/d/msgid/mobile-couchbase/0d9a1056-56ee-4a00-b320-7e6df636d3a0%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/5ba353c0-dda4-456f-9b76-cc844349b69b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
