RestartPartitionMode Enum

Definition

The enum passed into the RestartPartition API to specify what replicas need to be restarted

[System.Serializable]
public enum RestartPartitionMode
[<System.Serializable>]
type RestartPartitionMode = 
Public Enum RestartPartitionMode
Inheritance
RestartPartitionMode
Attributes

Fields

Name Value Description
Invalid 0

Reserved. Do not pass into API.

AllReplicasOrInstances 1

All replicas or instances in the partition are restarted at once

OnlyActiveSecondaries 2

Only the secondary replicas are restarted. This option can only be used for stateful services and avoids data loss

Applies to