Couchbase Server -> Couchbase SyncGateway -> Couchbase Lite # Delete Document Flow

Hi Team,

I am facing an issue. Use case is we are using Couchbase Lite → Couchbase Sync-Gateway → Couchbase Server. Syncing(pushed and pulled) is working fine from both the direction, if I edit/add anything from both the direction. But when I delete document from Couchbase Server same needs to be also deleted from Couchbase Lite local DB.I do have also tried thisConfig.setAutoPurgeEnabled(true);. More information, I am using CouchbaseLite for Java.

Appreaciate for quick help.

Thanks