Prohibit collection/index creation inside prepared transactions

XMLWordPrintableJSON

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

      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 van Keulen
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: