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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.10, 4.0.5, 4.1.6
    • Querying, Replication
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Repl 2018-11-19

    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

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

              Dates

                Created:
                Updated:
                Resolved: