我的本地群集上的本地 Service Fabric 出现错误。我在我的一项无状态服务的 Service Fabric Explorer Web 门户中看到它。我在应用程序中找不到任何异常,我的磁盘没有内存不足。我还尝试在 C:\SfDevCluster\Log\Traces 中查找一些日志,但我看不到任何与此相关的错误。什么可能是来源以及在哪里寻找解决方案?
Error event: SourceId='System.FM', Property='State'.
Partition is below target replica or instance count.
fabric:/localinstance/TestService 1 1 66712658-4aa3-48ce-80c6-b6e9cf258e56
InBuild _Node_2 131789911365352647
(Showing 1 out of 1 instances. Total available instances: 0)
Unhealthy event: SourceId='System.RA', Property='ReplicaOpenStatus', HealthState='Warning', ConsiderWarningAsError=false.
Replica had multiple failures during open on _Node_2. API call: IStatelessServiceInstance.Open(); Error = System.TypeInitializationException (-2146233036)
The type initializer for 'Microsoft.ServiceFabric.Services.ServiceTrace' threw an exception.
at Microsoft.ServiceFabric.Services.ServiceTrace.GetTraceIdForReplica(Guid partitionId, Int64 replicaId)
at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceAdapter..ctor(StatelessServiceContext context, IStatelessUserServiceInstance userServiceInstance)
at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceFactory.System.Fabric.IStatelessServiceFactory.CreateInstance(String serviceTypeName, Uri serviceName, Byte[] initializationData, Guid partitionId, Int64 instanceId)
at System.Fabric.ServiceFactoryBroker.<>c__DisplayClass9_0.b__0(IStatelessServiceFactory factory, ServiceInitializationParameters initParams)
at System.Fabric.ServiceFactoryBroker.CreateHelper[TFactory,TReturnValue](IntPtr nativeServiceType, IntPtr nativeServiceName, UInt32 initializationDataLength, IntPtr nativeInitializationData, Guid partitionId, Func`3 creationFunc, Action`2 initializationFunc, ServiceInitializationParameters initializationParameters)
For more information see: http://aka.ms/sfhealth