Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Enum DurabilityLevel

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.dll
Syntax
public enum DurabilityLevel : byte

Fields

Name Description
Majority

Mutation must be replicated to (i.e. held in memory of that node) a majority of the configured nodes of the bucket.

MajorityAndPersistToActive

Same as majority, but additionally persisted to the active node.

None

No durability requirements.

PersistToMajority

Mutation must be persisted to (i.e. written and fsync'd to disk) a majority of the configured nodes of the bucket.

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.