【发布时间】:2017-02-16 16:52:50
【问题描述】:
我正在尝试在本地 1 节点集群上从自身恢复我的 SF 服务:
using (var client = new FabricClient())
{
await client.TestManager.StartPartitionDataLossAsync(
Guid.NewGuid(),
PartitionSelector.PartitionIdOf(Context.ServiceName, Context.PartitionId),
DataLossMode.FullDataLoss);
}
调用失败,FabricException 带有未知错误代码:
System.Fabric.FabricException: An error occurred during this operation. Please check the trace logs for more details. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071D0A
at System.Fabric.Interop.NativeClient.IFabricTestManagementClient3.EndStartPartitionDataLoss(IFabricAsyncOperationContext context)
at System.Fabric.Interop.Utility.<>c__DisplayClassa.<WrapNativeAsyncInvoke>b__9(IFabricAsyncOperationContext context)
at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
跟踪日志包含此错误:
ProcessClientOperation for action 'ForwardMessage' encountered error FMFailoverUnitNotFound.
【问题讨论】: