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

Run ping command at end of tenant migration txn passthrough tests

    • Fully Compatible
    • v5.0, v4.9
    • Repl 2021-04-05, Repl 2021-05-17, Repl 2021-05-31

      In tenant migrations, I'm seeing this sequence of events:

      1. Tenant migration begins
      2. Transaction begins but is not committed or aborted
      3. Tenant migration completes
      4. New operations are routed to the recipient, but the donor transactions are never cleaned up

      In this case, should the donor transactions be cleaned up automatically? Or do we want users to manually issue a commitTransaction or abortTransaction to clean up these transactions?

      Another open question: If we do want to automatically clean up these transactions on the donor, should we still do this if the migration fails?

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: