-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
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:
- Tenant migration begins
- Transaction begins but is not committed or aborted
- Tenant migration completes
- 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?