The scenario is as follows:
- Start a SG instance with one user (autotest) assigned access to a particular channel (ABC)
- Create several documents on Couchbase Lite that get routed to the ABC channel
- Modify all the documents via SG HTTP so that they get routed to another channel instead (e.g. "unknown" channel)
- Run a pull replication on CBL
With delta sync disabled this results in an exchange that finally ends in the following BLIP message for each revision:
However, with delta sync enabled the following gets sent instead:
This results in the access removed event never getting triggered.