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

The runtimeConstant userRoles being api unstable causes apiStrict error

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

      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@mongodb.com Militsa Sotirova
            Reporter:
            naama.bareket@mongodb.com Naama Bareket
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: