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

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

    • Fully Compatible
    • v4.0, v3.6
    • Repl 2018-11-19

      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.

            Assignee:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: