在 Azure 数据同步日志中,每次同步我都会收到一条警告消息,声称 4 条上传记录失败。但是,没有与日志记录相关的详细信息,所以我不知道这 4 条记录从哪个表中丢失,也不知道导致问题的记录的 PK 是什么。
有没有办法解决这个问题?也许通过查询表数据同步添加到中心/成员数据库?
在本地服务器的事件日志中,我看到了与此类似的事件流:
id:SyncServiceTask_ExceptionProcessingRequest, rId:, sId:b375b9d2-4596-4a69-9b87-71dc351108bc, taskId:e63d1aa8-1bf6-4bd5-b877-94b623004f89, e:'Type=System.ServiceModel.FaultException 1[[Microsoft.SqlAzureDataSync.ClientServerCommon. DssFaultException, Microsoft.SqlAzureDataSync.ClientServerCommon, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]', eMessage:'Message=Object reference not set to an object of an instance. ', eTypeInner:, eMessageInner:
1[[Microsoft.SqlAzureDataSync.ClientServerCommon.DssFaultException, Microsoft.SqlAzureDataSync.ClientServerCommon, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Message=Object reference not set to an instance of an object. ,Source=Microsoft.SqlAzureDataSync.SyncAgentServiceApi,StackTrace=
at Microsoft.SqlAzureDataSync.SyncAgentServiceApi.SyncAgentServiceApi.CompleteDataSyncTask(String responseXml, Guid taskId, Guid tracingId) at Microsoft.SqlAzureDataSync.SyncControllerLib.SyncControllerTaskBase.CompleteTask(Guid taskId, BaseResponse response),', eType:'Type=System.ServiceModel.FaultException