Start-ServiceFabricPartitionDataLoss:操作超时 [英] Start-ServiceFabricPartitionDataLoss : Operation timed out
本文介绍了Start-ServiceFabricPartitionDataLoss:操作超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我运行此命令时,它永远不会完成.
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
它将导致
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资源管理器复制了分区ID.
I'm trying to test my backup in my local environment. I copied the partition id form the Service fabric explorer.
Get-ServiceFabricPartitionDataLossProgress也导致超时.
Get-ServiceFabricPartitionDataLossProgress also result in a timeout.
由于powershell不适用于我,因此我通过代码进行了尝试.但结果相同
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?
推荐答案
尝试将群集模式切换到5节点
Try to switch cluster mode to 5 Node
这篇关于Start-ServiceFabricPartitionDataLoss:操作超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文