Docs not being tombstoned with replication DocID filter
Description
In CBL, when following these steps without filtering replication by docID, document is purged (so trying to fetch it from local DB will return null). When filtering by docID, document is not purged.
Steps to reproduce:
A doc in CBS which belongs to a channel.
SGW user who has access to that channel.
Identical doc in local DB.
Revoke the user's access to that channel.
Run a pull replication with a filter for the docID.
Document will not be purged.
Activity
Show:
Adam Fraser December 9, 2022 at 5:27 PM
Edited
DocID-filtered replications don't support revocation - this fix would be to add revocation support to docID-filtered replications. May need to update documentation to cover the existing handling.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
In CBL, when following these steps without filtering replication by docID, document is purged (so trying to fetch it from local DB will return null). When filtering by docID, document is not purged.
Steps to reproduce:
A doc in CBS which belongs to a channel.
SGW user who has access to that channel.
Identical doc in local DB.
Revoke the user's access to that channel.
Run a pull replication with a filter for the docID.
Document will not be purged.