Hi, I am trying to build a mobile application wich needs to sync data to a couhbase server, but only new data or updated data; and need to filter deleted documents so the server keep the document even when at the mobile the user delete the document; I can not use thombstone or something like that, just need the document at the server as it was on revision 1.
This is a piece of code where I am trying to achieve this:
It is very weird, sometimes when I delete a document and star a replication the deletion does not replicate (wich is the desire behavior), but sometimes the delete document replicates and that is not acceptable for my application, I don’t know I am kind of frustrated. The general idea is a one way push replication no pull; it suppouse to be easy and right now I am on the egde of declare forfeit opn this, hehehe