Start-ServiceFabricPartitionDataLoss:操作超时

时间:2016-12-28 10:38:56

标签: azure-service-fabric

当我运行此命令时,它永远不会完成。

Start-ServiceFabricPartitionDataLoss -DataLossMode FullDataLoss -ServiceName "fabric:/CompanyInfo/PartyActorService" -OperationId d3f12b09-6a90-4745-a4fc-3f92149a7410 -PartitionId 6db8c4e7-d27a-4918-8111-36faeae7afee

这将导致

Start-ServiceFabricPartitionDataLoss : Operation timed out.
At line:1 char:1
+ Start-ServiceFabricPartitionDataLoss -DataLossMode FullDataLoss -Serv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationTimeout: (Microsoft.Servi...usterConnection:ClusterConnection) [Start-ServiceFa
   bricPartitionDataLoss], TimeoutException
    + FullyQualifiedErrorId : StartDataLossCommandErrorId,Microsoft.ServiceFabric.Powershell.StartDataLoss

我正在尝试在我的本地环境中测试我的备份。我从Service Fabric explorer中复制了分区ID。

Get-ServiceFabricPartitionDataLossProgress也会导致超时。

由于powershell不能为我工作,我通过代码尝试了它。但结果相同

fabricClient.TestManager.StartPartitionDataLossAsync(operationId, partitionSelector, DataLossMode.FullDataLoss, CancellationToken)

有没有办法获得更多的调试信息,为什么它会出错?

0 个答案:

没有答案