[SERVER-75650] The runtimeConstant userRoles being api unstable causes apiStrict error Created: 04/Apr/23  Updated: 30/May/23  Resolved: 30/May/23

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

Type: Task Priority: Major - P3
Reporter: Naama Bareket Assignee: Militsa Sotirova
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Sprint: QO 2023-05-15, QO 2023-05-29, QO 2023-06-12
Participants:

 Description   

When running `jstests/sharding/query/merge_to_non_existing.js` with the `sharding_api_strict_passthrough` suite, the following apiStrict error is thrown:

 

"errmsg" : "PlanExecutor error during aggregation :: caused by :: BSON field 'update.runtimeConstants.userRoles' is not allowed with apiStrict:true."

The `update` command is listed as stable in the api changelog and `runtimeConstants` are also specified as stable in the .idl files, so having `userRoles` as unstable causes this failure.

 


Generated at Thu Feb 08 06:30:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.