Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13584

Investigate changes in SERVER-47400: createCollection/createIndexes are permitted to write to system collections inside transactions

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary

      As of this ticket, the create command and createIndexes command will fail inside a multi-document transaction if these commands attempt to operate on a system collection. This is consistent with other write commands, which are similarly disallowed from writing to system collections inside multi-document transactions.

      Description of Linked Ticket

      Write ops and findAndModify prevent writes to system collections inside transactions.

      Similar restrictions should be put on createCollection and createIndexes.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            ian.fogelman@mongodb.com Ian Fogelman
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 24 weeks ago