-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Serverless
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
If a donor collection is renamed during a tenant migration, the recipient aborts the migration. Possible mechanism:
- Recipient opens cursor on donor collection by UUID.
- Recipient clones some documents.
- Renaming the collection on the donor kills the cursor.
- The recipient considers the error retryable, and opens a new cursor on the renamed collection (by the same UUID).
- Using the new cursor, the recipient begins cloning from the beginning.
- The recipient tries to insert the same first document, generating a DuplicateKeyError.
I'm not sure this is the correct diagnosis. And, once the DuplicateKeyError is fixed, make sure the recipient ends up with a collection that is properly named, and does not have a collection with the old name.
- related to
-
SERVER-61299 Crash when donor collection is renamed during tenant migration
-
- Closed
-