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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-08, Sharding 2019-04-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: