Click or drag to resize

DurabilityLevel Enumeration

The required number of nodes which the mutation must be replicated to (and/or persisted to) for durability requirements to be met. Possible values:

Namespace:  Couchbase.KeyValue
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public enum DurabilityLevel
Members
  Member nameValueDescription
None0 No durability requirements.
Majority1 Mutation must be replicated to (i.e. held in memory of that node) a majority of the configured nodes of the bucket.
MajorityAndPersistToActive2 Same as majority, but additionally persisted to the active node.
PersistToMajority3 Mutation must be persisted to (i.e. written and fsync'd to disk) a majority of the configured nodes of the bucket.
See Also