> On Mar 13, 2015, at 8:01 AM, Jeremy Kelley <[email protected]> wrote: > > I am seeing a case where I can create documents within a shadowed bucket > (primary), and they are not showing up in any form in the shadow bucket and > therefore are not getting sync'd to remote clients ever.
Do you mean that no documents you create in the primary bucket get copied into the Sync Gateway bucket? Or is it intermittent? If the latter, is there anything those documents might have in common, like document IDs or properties? > ONE - Is there a common misconfiguration that could cause this to happen that > I could look for? No, this sounds like a bug. File a bug report, please! > TWO - If I were to just shut down sync gateway and then delete the shadow > bucket and recreate it and restart sync gateway, would it "do the right > thing"? Would it just copy all documents over into the shadow and then each > device could just resync and move forward? Sort of … but you probably don’t want to do this. You’d end up with all the same documents with the same IDs, but you’d lose all the replication metadata that was kept in the old shadow bucket. Most importantly, each document’s revision ID would reset to first generation (starting with “1-….”). The clients would interpret this as a conflict in each document, with unpredictable results. :/ Have you tried just shutting down the Gateway and restarting it? It’s been a long time since I worked on the bucket shadowing code, but I think that might re-scan the primary bucket and import missing documents. —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/F1E5C469-3D95-470D-A7BD-B1BB8D6D8D5A%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
