Make sure implicit database creation can only happen via CollectionRoutingInfoTargeter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-02-03, CAR Team 2025-02-17, CAR Team 2025-03-03, CAR Team 2025-03-17, CAR Team 2025-03-31, CAR Team 2025-04-14, CAR Team 2025-04-28, CAR Team 2025-05-12, CAR Team 2025-05-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ONLY FOR SHARDED CLUSTERS since there is no database creation on replica-sets.

      This investigation ticket has two objectives:

      • Make sure implicit database creation can only happen via CollectionRoutingInfoTargeter (aka: there is a single entry point for implicit database creation)
        • This will guarantee it will not be possible to implicitly create a database on reads after SERVER-93173 will be completed
      • Explore options to programmatically avoid adding other ways of implicitly creating databases in the future (never bypass the single entry point for implicit database creation)

            Assignee:
            Antonio Fuschetto
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: