Hello there,
My team is facing an issue where the documents reappear after being deleted. As far as I understand, it’s possible that in the collaborative environment one client deletes a document and later another one restores the document by pushing it from their local database.
So my questions are:
- How long is the tombstone purge interval in Couchbase Capella instances? In the docs I only see that the default value is
3. Is it true for managed instances as well? I couldn’t find any configuration values in the UI as well. - Is it possible to get into this issue w/o a tombstone purge being involved? For instance if we have pull & push replication configured by default. Is it possible that the offline client pushed its older version and the server resolved the conflict in its favour?
I am no expert in Couchbase internals, so I would really appreciate any input. Thank you!
UPD. As far as I understood the (2) case is unlikely, since we’re running Sync Gateway 3.x with MWW conflict resolution and our deletion involves first setting deletedAt field and then actually deleting with a cronjob.