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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public enum ReadConcernLevel
Members
  Member nameValueDescription
Available0 Reads available data.
Local1 Reads data committed locally.
Majority2 Reads data committed to a majority of nodes.
Linearizable3 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.
Snapshot4 Snapshot read concern level.
See Also