Instantiate ScopedAllowImplicitCollectionCreate_UNSAFE object in cloneCollectionAsCapped command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-12-08
    • 1
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the cloneCollectionAsCapped is prohibited during promotion to sharded cluster due to restriction on implicit collection creation.
      As part of this ticket, we need to:

      1. Instantiate a ScopedAllowImplicitCollectionCreate_UNSAFE object in the cloneCollectionAsCapped command to temporarily bypass the restrictions.
      2. Remove the TODO in the direct_shard_connection_ddls_during_promotion_to_dedicated.js and test the cloneCollectionAsCapped execution during promotion.

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: