The only way I can think of handling issue 2 right now is have a service on 
the server that deletes the documents from the couchbase server directly so 
they don't get re-synced to the clients.  Then have a rest call the clients 
can hit to get the ID's of the docs that were deleted from the database so 
they can purge locally.

Not very elegant but the only option I can think of.  Users will login from 
their other devices and it could take 10+ minutes to sync all the old 
revisions just to purge it later.  I want to make sure only the relevant 
information is synced.

Let me know if anyone has any ideas how to handle this.  I would think this 
may be a somewhat common use case for users, has anyone else run into an 
issue like this?

-- 
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/d409c460-3c57-423a-b58a-bb31581b3351%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to