Udostępnij za pośrednictwem


DataLossMode Enum

Definition

This enum is passed to the DataLoss testability API to indicate what type of data loss to induce.

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

Fields

Name Value Description
Invalid 0

Reserved. Do not pass into API.

PartialDataLoss 1

PartialDataLoss option will cause a quorum of replicas to go down, triggering an OnDataLoss event in the system for the given partition.

FullDataLoss 2

FullDataLoss option will drop all the replicas which means that all the data will be lost.

Applies to