[SERVER-57197] [ephemeralForTest] improve error message for change stream request Created: 25/May/21  Updated: 27/Oct/23  Resolved: 07/Jul/22

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Backlog - Replication Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-39356 Change stream updateLookup queries wi... Closed
is related to SERVER-37560 Allow change streams to work with spe... Closed
is related to SERVER-53247 Disable enableMajorityReadConcern:false Closed
Assigned Teams:
Replication
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-06-28
Participants:

 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.



 Comments   
Comment by Judah Schvimer [ 07/Jul/22 ]

EFT has been removed. Closing this as "Gone Away".

Comment by Dianna Hohensee (Inactive) [ 27/May/21 ]

Redirecting to replication because we believe a recent change by repl caused a different code path to trigger and invariant.

Generated at Thu Feb 08 05:41:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.