Start-ServiceFabricPartitionDataLoss : Operation timed out

怎甘沉沦 提交于 2019-12-24 09:27:58

问题


When I run this command it never completes.

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

It will result in

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

I'm trying to test my backup in my local environment. I copied the partition id form the Service fabric explorer.

Get-ServiceFabricPartitionDataLossProgress also result in a timeout.

Since powershell was not working for me I tried it via code. But with the same result

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

Is there any way to get more debug information why it goes wrong?

来源:https://stackoverflow.com/questions/41360251/start-servicefabricpartitiondataloss-operation-timed-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!