On Apr 15, 2016, at 6:02 PM, David Quon <[email protected]<mailto:[email protected]>> wrote:
Thanks for the explanation Jens. So we tested with `release/1.2.2` (unofficial) and we're noticing that the replication is pulling everything (or it seems) and not just the `documentIDs` requested. Also the replication does replicate a lot of documents (807 when we only requested 693) before just hanging and replication never finished. Are these known issues? That’s weird because the developer who reported the bug verified that the patch fixed it… …Oh, I think I see. The initial report wasn’t about replicating a set of documentIDs, just regular replication. There still seems to be an incompatibility with replicating documentIDs: the CouchDB docs<http://docs.couchdb.org/en/latest/api/database/changes.html#post--db-_changes> show the ‘filter’ property stays in the URL, and only the ‘docIDs’ parameter goes in the POST body, but we still put ‘filter’ only in the body. (I swear this isn’t our fault; we implemented POST to _changes before CouchDB did, and documented the API. My guess is they implemented it without looking at our docs.) I’m working on a patch … should have it pushed to that branch in 10 minutes or so. Let me know if it works for you. —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/E1ECCC89-FADE-46C9-9B64-FCCA179EE725%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
