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

[ephemeralForTest] improve error message for change stream request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.1 Desired
    • Component/s: Storage
    • Labels:
      None
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Sprint:
      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

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: