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

[ephemeralForTest] improve error message for change stream request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Storage
    • None
    • Replication
    • ALL
    • v5.0
    • Repl 2021-06-28

    Description

      When we try to open a change stream on the server configured with the ephemeralForTest (biggie in 4.4) storage engine, the server should provide an informative error message similar to the behavior in 4.4:

      	"operationTime" : Timestamp(0, 0),
      	"ok" : 0,
      	"errmsg" : "Storage engine does not support read concern: { readConcern: { level: \"majority\" } }",
      	"code" : 148,
      	"codeName" : "ReadConcernMajorityNotEnabled",
      

      Affects master and 5.0 only.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: