Parsing Linearizable Read command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Minor Change
    • Repl 16 (06/24/16), Repl 17 (07/15/16), Repl 18 (08/05/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Hari Devaraj (Inactive)
              Reporter:
              Hari Devaraj (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: