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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Fausto Leyva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: