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

Test that read concern majority is respected on secondaries in getMore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Querying, Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2018-05-21
    • Linked BF Score:
      18

      Description

      We set shouldReadAtLastAppliedTimestamp on the recovery unit in db_raii.cpp (AutoGetCollectionForRead) before we know what the correct readConcern is, then we fail to reset it when we get the correct readConcern from the cursor. This applies to both the getMore command and the OP_GETMORE wire protocol read.

        Attachments

          Activity

            People

            Assignee:
            tess.avitabile Tess Avitabile
            Reporter:
            matthew.russotto Matthew Russotto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: