Couchbase lite sync gateway PULL replication documents diff


If I have documents locally present in the device which are missing in sync gateway server db, during PULL replication, will my local documents diff get deleted?

No, replication only serves to update changes from a source to a target so unless there is an explicit delete present on the server (e.g. It was synched to another device and that device deleted it or someone deleted it via the rest API on sync gateway) it will leave it alone.

Thanks for explaining!