Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Minor Change
-
Repl 16 (06/24/16), Repl 17 (07/15/16), Repl 18 (08/05/16)
Description
First step in implementing linearizable reads: implement read concern level.
When a read is received with a read concern level “linearizable”, we must first check that the current node is master (available for writes). Nodes that are not currently in writable state shall return a NotMaster error. Linearizable reads are not permitted on Secondary nodes.
If an afterOpTime read concern option is also supplied, a parse error is returned. To limit project scope, afterOpTime read concern option will be incompatible with read concern level linearizable, for now.
Additionally, need to include unittests for parsing.
Attachments
Issue Links
- is documented by
-
DOCS-9494 Docs for SERVER-24494: Parsing Linearizable Read command
-
- Closed
-
- related to
-
DRIVERS-307 Support new readConcern level "linearizable"
-
- Closed
-