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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-03-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Janna Golden
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: