Service Fabric - 通过ActorProxy

时间:2017-04-19 15:20:08

标签: azure-service-fabric service-fabric-actor

我在我的集​​群上捕获以下异常,当一个actor通过ActorProxy调用另一个时,随机:

System.Fabric.FabricObjectClosedException:对象已关闭。 ---&GT; System.Runtime.InteropServices.COMException:来自HRESULT的异常:0x80071BFE    在System.Fabric.Interop.NativeRuntime.IFabricKeyValueStoreReplica6.CreateTransaction()    在System.Fabric.KeyValueStoreReplica.CreateTransactionHelper(KeyValueStoreTransactionSettings设置)    at System.Fabric.Interop.Utility.WrapNativeSyncInvoke [TResult](Func 1 func, String functionTag, String functionArgs) --- End of inner exception stack trace --- at System.Fabric.Interop.Utility.WrapNativeSyncInvoke[TResult](Func 1 func,String functionTag,String functionArgs)    在Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider。&lt;&gt; c__DisplayClass14.b__13()    在Microsoft.ServiceFabric.Actors.Runtime.ActorStateProviderHelper.d__6 1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.ServiceFabric.Actors.Runtime.ActorStateManager.<ContainsStateAsync>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at PosteItaliane.Sin.StateManagement.ObservableState.SingleValueWrapper 1.d__2.MoveNext()在C:\ Users \ maurosag \ Source \ Repos \ Equitalia3 \ SIN \ PI.Sin.StateManagement \ ObservableState \ SingleValueWrapper中。 cs:第21行 ---从抛出异常的先前位置开始的堆栈跟踪结束---    在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在PosteItaliane.Sin.Utility.ServiceFabric.StatefulActor`1.get_State()......

在网上搜索,我无法弄清楚如何解决它;关于Powershell执行官的唯一讨论:

“这意味着此副本已从初级到次级降级。如果异常冒泡,客户端将重新解析并重新连接到新的主服务器。现有的处理将耗尽初级。我正在将这个问题解决为“按设计”。如果您还有疑问,请随时重新开启。“

任何人都可以帮助我?

提前致谢。

0 个答案:

没有答案