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

[causal consistency] Ensure copied keys have replicated to every donor node before tenant migration commits

    • Fully Compatible
    • Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22

      To ensure that a request signed with a cluster time by the recipient can be processed by a stale donor node, the external validation keys copied from the recipient to the donor must have replicated to each donor node and been cached in-memory before the migration commits.

      This can be done by waiting for the opTime of the last key insert to replicate to each voting node. Keys are copied at the beginning of a migration but this can be waited for near the end to improve performance.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: