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

Allow findAndModify to change the shard key value if run as part of a multi-stmt txn

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-03-25

    Description

      In FindAndModifyCmd on MongoS, we need to catch the WCOS error and run the delete-insert transaction logic created as part of SERVER-39835. If the findAndModify is not part of a multi-stmt txn, we will error.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: