-
-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Hello,
I'm using SqlSyncChangeTrackingProvider with many clients synchronising with a single server.
It is possible to add new clients during lifetime of the application.
If incremental synchronisation fails for whatever reason, including change of metadata of synchronised data (like adding new column or something) than I'm doing Deprovision + drop destination tables from destination (client) database + Reprovision + full synchronisation.
What is the problem? DotMim.Sync during Deprovision executes ALTER TABLE ... DISABLE CHANGE_TRAKCING, and this operation damages synchronisation with other clients.
So if metadata change for any of synchronised clients, than I need to execute operation that break synchronisations with other clients.
Can I skip this operation by configuration somehow? I have tried to pass some parameter to DeprovisionAsync (SyncProvision) to let it know that it shouldn't delete change tracking informations, but failed.