Enum ReadConcernLevel
The leve of the read concern.
public enum ReadConcernLevel
Fields
Available = 0Reads available data.
Local = 1Reads data committed locally.
Majority = 2Reads data committed to a majority of nodes.
Linearizable = 3Avoids 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.
Snapshot = 4Snapshot read concern level.