Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IStatefulServiceReplica.Open(); Error = System.NotSupportedException #485

Open
veertien opened this issue Apr 6, 2020 · 1 comment
Open
Labels
status-last6months status-olderthan1year Created earlier than current year and no activity

Comments

@veertien
Copy link

veertien commented Apr 6, 2020

On my 1-node development cluster, I get this error when my sateful service is deployed and then I rebuild the project in Visual Studio.

Expected Behavior

The service should restart without an exception

Current Behavior

Service goes into error state with:

'System.RA' reported Warning for property 'ReplicaOpenStatus'.
Replica had multiple failures during open on _Node_0. API call: IStatefulServiceReplica.Open(); Error = System.NotSupportedException (-2146233067)
Specified method is not supported.
   at Microsoft.ServiceFabric.Replicator.RecoveryManager.PerformRecoveryAsync(RecoveredOrCopiedCheckpointLsn recoveredOrCopiedCheckpointLsn, OperationProcessor recordsProcessor, CheckpointManager checkpointManager, TransactionManager transactionManager, LogRecordsDispatcher logRecordsDispatcher, ReplicatedLogManager replicatedLogManager)
   at Microsoft.ServiceFabric.Replicator.LoggingReplicator.PerformRecoveryAsync(RecoveryInformation recoveryInformation)
   at Microsoft.ServiceFabric.Replicator.DynamicStateManager.OpenAsync(ReplicaOpenMode openMode, TransactionalReplicatorSettings transactionalReplicatorSettings)
   at Microsoft.ServiceFabric.Replicator.TransactionalReplicator.OpenAsync(ReplicaOpenMode openMode, TransactionalReplicatorSettings transactionalReplicatorSettings)
   at Microsoft.ServiceFabric.Replicator.StatefulServiceReplica.System.Fabric.IStatefulServiceReplica.OpenAsync(ReplicaOpenMode openMode, IStatefulServicePartition partitionObject, CancellationToken cancellationToken)
   at Microsoft.ServiceFabric.Data.ReliableStateManagerImpl.Microsoft.ServiceFabric.Data.IStateProviderReplica.OpenAsync(ReplicaOpenMode openMode, IStatefulServicePartition partition, CancellationToken cancellationToken)
   at Microsoft.ServiceFabric.Services.Runtime.StatefulServiceReplicaAdapter.System.Fabric.IStatefulServiceReplica.OpenAsync(ReplicaOpenMode openMode, IStatefulServicePartition partition, CancellationToken cancellationToken)
For more information see: <a href='https://aka.ms/sfhealth' target='_blank'>https://aka.ms/sfhealth</a>

Steps to Reproduce

  1. Deploy the stateful service to local 1-node cluster
  2. In Visual Studio, rebuild the stateful service project

Service Fabric Runtime and SDK Version :

  • SDK: 4.0.470.9590
  • Runtime: 7.0.470.9590

Operating System :

Windows 10

Cluster Size :

1-node dev box

@gkhanna79 gkhanna79 transferred this issue from microsoft/service-fabric-issues Apr 28, 2020
@ghost ghost added the status-olderthan1year Created earlier than current year and no activity label Sep 2, 2020
@ghost ghost added the status-last6months label Dec 17, 2020
@woeterman94
Copy link

Any update / fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-last6months status-olderthan1year Created earlier than current year and no activity
Projects
None yet
Development

No branches or pull requests

2 participants