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

Implement the distributed transaction oplog write on resharding donors

    • Fully Compatible
    • Sharding 2020-12-14, Sharding 2020-12-28
    • 1

      After a donor shard transitions to kPreparingToMirror, it should write to the oplog that it is now converting all future writes to distributed transactions. This is so that all recipient shards can read this message. These recipient shards will know that they are done applying by reading this oplog message.

      The oplog message should have an o2 field matching reshardFinalOp (bonus points if you pull out that magic string into a global variable), and should look something like this.

            Assignee:
            lamont.nelson@mongodb.com Lamont Nelson
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: