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

Migrate info that retryable write has turned into transaction during session migration

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2019-04-22, Sharding 2019-05-06
    • 36

      Since we will turn a retryable write into a transaction when an update to the shard key is sent as a retryable write, we need to migrate some info during session migration about this write. That way, if the chunk that owned the original document moves, an attempted retry will fail. In order to do this, we will need to add some extra field to config.transactions to indicate that the retryable write turned into a transaction.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: