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

Allow update to shard key value if retryable write when doc will move shards

    XMLWordPrintableJSON

Details

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

    Description

      In BatchWriteExec::executeBatch, we should begin tracking WouldChangeOwningShard errors. If a write is retryable and we have tracked WCOS errors, run the transaction logic implemented in SERVER-39841. If this transaction commits successfully, clear the errors.

      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: