Somewhat new to couchbase, looking to do something I haven’t found in documentation yet.
We have a system that needs to clear local data every day. This is a non-negotiable business requirement.
However we need to keep the information of those deleted documents. I’m looking for a way to delete local documents without propagating that change upstream. How can this be done?
One idea we had was during a deletion we move the old to another channel, but that seemed to still mark the document as deleted. We do not want hundreds of thousands documents to be considered deleted in the cloud because we will use the cloud database for client functions. However as above, the data on the local machine must be deleted.
How can I accomplish this functionality?