Click or drag to resize

ReadConcernLevel Enumeration

The leve of the read concern.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public enum ReadConcernLevel
Members
  Member nameValueDescription
Local0 Reads data committed locally.
Majority1 Reads data committed to a majority of nodes.
Linearizable2 Avoids returning data from a "stale" primary (one that has already been superseded by a new primary but doesn't know it yet). It is important to note that readConcern level linearizable does not by itself produce linearizable reads; they must be issued in conjunction with w:majority writes to the same document(s) in order to be linearizable.
Snapshot3 Snapshot read concern level.
See Also