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

Prohibit collection/index creation inside prepared transactions

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Execution Team 2020-02-10, Execution Team 2020-02-24

      This ticket is split from SERVER-45368, which allows collection and index creation inside unprepared transactions in a sharded cluster.

      The work to make collection and index creation function inside prepared transactions is nontrivial, and there are crash scenarios that can happen presently (see my comment). This ticket will fix those crash scenarios by disallowing collection and index creation (and any other commands) from prepared transactions.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: