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

Allow findAndModify to change the shard key value if retryable write when the doc will move shards

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-22

    Description

      If the findAndModify is a retryable write and we get a WCOS error, start a transaction an re-run the original findAndModify using the logic implemented in SERVER-39841.

      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: