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

Remove unnecessary timeseries validation check in create collection coordinator

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-04-15, CAR Team 2024-04-29, CAR Team 2024-05-13, CAR Team 2024-05-27, CAR Team 2024-06-10

      In SERVER-75818 we moved the validation check from the create collection coordinator into the shardsvrCreateCollection command. In SERVER-83114 we found that in order to avoid versioning errors we had to keep at least one check of timeseries options in the code even if we end up validating the same data twice. This resulted in leaving the validation check on the coordinator.

      The check in particular can be removed once 8.0 is released since we'll have guarantees that there is always one check done by the shardsvr command and the coordinator uses the result of it.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: