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

CreateCoordinator should support api_strict check

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • ALL
    • v8.0
    • CAR Team 2024-09-16

      After SERVER-81189 in order to guarantee the api version check for {create ... }, the api version information has been forcefully attached to the shardsvrCreateCollection command. Those information are ignored as  shardsvrCreateCollection does not require api version check. Afterwards, those information are attached to the {create..} run by a direct client connection.

      However, after SERVER-81190 some {create .. } will run by the CreateCollection coordinator which spawns a new operation context and those information are lost. 

      The goal of this ticket is to guarantee the api version check.

      Important: the api check is usually performed right at the beginning of the entry point before any other error can be thrown. Once reached the coordinator, other errors could be thrown before due to previous checks. A possible solution for this ticket could be to directly work on the entry point and make sure this check is performed there.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: