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

Add uassert that a shard should never see implicitlyCreateCollection error inside a transaction

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-11-05

      Description

      As stated in the design:

      Operations running in a transaction are not allowed to create collections implicitly (insert and upsert, findAndModify), which is enforced before CannotImplicitlyCreateCollection can be thrown, so the router should never see this exception in a transaction.

        Attachments

          Activity

            People

            Assignee:
            jack.mulrow Jack Mulrow
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: