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

[ephemeralForTest] improve error message for change stream request

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Replication
    • ALL
    • v5.0
    • Repl 2021-06-28

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: