Azure service fabric 服务结构副本卡住

Azure service fabric 服务结构副本卡住,azure-service-fabric,service-fabric-stateful,Azure Service Fabric,Service Fabric Stateful,我正在升级Service Fabric上的应用程序,其中一个副本显示以下警告: 不健康事件:SourceId='System.RAP',Property='IStatefulServiceReplica.ChangeRoleSDuration',HealthState='Warning',ConsiderWarningAsError=false。 节点gtmsf1_0上的api IStatefulServiceReplica.ChangeRoleS被卡住。开始时间UTC:2018-03-21 1

我正在升级Service Fabric上的应用程序,其中一个副本显示以下警告:

不健康事件:SourceId='System.RAP',Property='IStatefulServiceReplica.ChangeRoleSDuration',HealthState='Warning',ConsiderWarningAsError=false。 节点gtmsf1_0上的api IStatefulServiceReplica.ChangeRoleS被卡住。开始时间UTC:2018-03-21 15:49:54.326

经过一些调试后,我怀疑我没有正确地兑现取消令牌。同时,如何安全地强制重新启动此卡住的复制副本,以使服务重新工作

Get-ServiceFabricDeployedReplica的部分结果:


您可以直接通过管道将其重新启动ServiceFabriReplica。如果仍然存在问题,那么您应该能够使用Get-ServiceFabricDeployedCodePackage并重新启动ServiceFabricDeployedCodePackage来重新启动周围的进程。由于Restart ServiceFabricDeployedCodePackage具有选择随机包以模拟故障的选项,因此请确保针对您感兴趣的特定代码包重新启动

是的,一定要兑现那些取消代币。他们很重要;相信我,我已经把这件事放在心上了!
...
ReplicaRole                : ActiveSecondary
ReplicaStatus              : Ready
ServiceTypeName            : MarketServiceType
...
ServicePackageActivationId : 
CodePackageName            : Code
...
HostProcessId              : 6180
ReconfigurationInformation : {
                             PreviousConfigurationRole            : Primary
                             ReconfigurationPhase                 : Phase0
                             ReconfigurationType                  : SwapPrimary
                             ReconfigurationStartTimeUtc          : 3/21/2018 3:49:54 PM
                             }