FabricClient.ClusterManagementClient.RecoverSystemPartitionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RecoverSystemPartitionsAsync() |
Indicates to the Service Fabric cluster that it should attempt to recover the system services which are currently stuck in quorum loss. |
RecoverSystemPartitionsAsync(TimeSpan, CancellationToken) |
Indicates to the Service Fabric cluster that it should attempt to recover the system services which are currently stuck in quorum loss. |
RecoverSystemPartitionsAsync()
Indicates to the Service Fabric cluster that it should attempt to recover the system services which are currently stuck in quorum loss.
public System.Threading.Tasks.Task RecoverSystemPartitionsAsync ();
member this.RecoverSystemPartitionsAsync : unit -> System.Threading.Tasks.Task
Public Function RecoverSystemPartitionsAsync () As Task
Returns
A task representing acknowledgement of the intent.
Exceptions
See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
See also https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
Remarks
This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Applies to
RecoverSystemPartitionsAsync(TimeSpan, CancellationToken)
Indicates to the Service Fabric cluster that it should attempt to recover the system services which are currently stuck in quorum loss.
public System.Threading.Tasks.Task RecoverSystemPartitionsAsync (TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.RecoverSystemPartitionsAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RecoverSystemPartitionsAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- timeout
- TimeSpan
The timespan that defines the maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.
- cancellationToken
- CancellationToken
The cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is cancelled.
Returns
A task representing acknowledgement of the intent.
Exceptions
See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
See https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
See also https://azure.microsoft.com/documentation/articles/service-fabric-errors-and-exceptions/ for handling common FabricClient failures.
Remarks
This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss.
Applies to
Azure SDK for .NET