The runtimeConstant userRoles being api unstable causes apiStrict error

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • QO 2023-05-15, QO 2023-05-29, QO 2023-06-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

            Assignee:
            Militsa Sotirova
            Reporter:
            Naama Bareket
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: