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

Remove read concern "majority" overrides for change streams test suites

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.10, 4.0.5, 4.1.6
    • Component/s: Querying, Replication
    • Labels:
      None

      Description

      The change streams test suites all utilize the set_read_and_write_concerns.js override as a means to override read/write concern to "majority" on all commands run in their tests. This may have been added initially since change streams originally required "majority" read concern. They no longer do, and so omitting read concern on a change stream query is acceptable. The fact that all commands, not just change stream commands, get sent with read concern majority poses issues for running change stream suites with enableMajorityReadConcern:false, since "majority" reads are not supported for normal, non change-stream commands.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              william.schultz William Schultz (Inactive)
              Reporter:
              william.schultz William Schultz (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: