Unable to execute a sync in a worker thread
When sync via SyncOrchestrator, using MSF metadata impl, get this error message: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Synchronization.MetadataStorage.IReplicaMetadata2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8EB260E0-0761-46B4-9B9E-96265BDD83B2}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Seems that the built-in metadata object is COM and does not handle threading issues. A stretch goal is to provide two threads for syncing, but this issue would need to be resolved in order to implement that goal. Would a custom metadata provider allow us to eliminate this problem?