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

Disallow creation of timeseries collections on system namespaces

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-09-16, CAR Team 2024-09-30
    • 0
    • 2

      Currently, when trying to create a timeseries collection on a system collection, say system.users, the creation will fail. However, it will leave behind the buckets collection, because the command fails when creating the view, with an error that reads:

      View name cannot start with 'system.', which is reserved for system namespaces

      The buckets collection in this example would be named "system.buckets.system.users", which is an invalid namespace name, and would cause problems down the road with commands such as movePrimary.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: