-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Before a donor enters its critical section, it aborts every unprepared transaction on that shard. This includes the clone transactions of other resharding operations on the same shard. That's correct, but those clones have to restart.
Use one shard as the recipient for A and a donor for B. Pause A's collection clone partway through. Drive B to the point where its donors abort unprepared transactions, then release A.
Assert that A's clone restarts, completes, and that the temp collection contains exactly the expected documents with no duplicates. Repeat with more than two concurrent operations so that several critical sections hit the same clone.