Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24494

Parsing Linearizable Read command

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

      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 Hari Devaraj
            Reporter:
            hari.devaraj Hari Devaraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: