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

Handle multiversion scenario when returning 'InvalidNamespace' error in timeseries_collmod.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.1, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.1
      1. start up a mongod instance using a 6.0 binary
      2. run the mongo shell using a 6.1 binary
      3. run 'collMod' command with a 'system.buckets' NS and the command will not fail
    • Execution Team 2022-09-05
    • 19

      In SERVER-64791, we disallow calling the "collMod" command with a 'system.buckets.' collection namespace.

      We also added a test case expecting an 'InvalidNamespace' error for the scenario above but if the server is on version 6.0, the command will work when it should have failed. 

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: