[SERVER-54302] Write tenant migration test when the state doc collection is dropped Created: 04/Feb/21  Updated: 29/Oct/23  Resolved: 05/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-53950 tenant_migration_conflicting_recipien... Closed
is related to SERVER-55572 Handle CallbackCanceled errors in the... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.9
Sprint: Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05, Sharding 2021-04-19, Sharding 2021-05-03, Sharding 2021-05-17
Participants:

 Description   

Read SERVER-53950 for more context. The test is reproduce the situation when the whole state doc collection (both donor and recipient should be tested) is deleted. This is not a normal production operation, so writing this could be low priority.
At this point this codepath is untested and anything can happen.



 Comments   
Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-54302 Handle retrying with different migration id after dropping donor state collection

(cherry picked from commit 6701ac9e1cb8f42ae479d70f0fa6d1fa2b8bc995)
Branch: v4.9
https://github.com/mongodb/mongo/commit/68053f2e2f758e8b60e0f3f1845807b7da2c5a8e

Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-54302 Write tenant migration test when the state doc collection is dropped

(cherry picked from commit b37de758aa8a5fcc74d8af8b7556e3a18d76e90c)
Branch: v4.9
https://github.com/mongodb/mongo/commit/5f58ab0e48fbe1293a7abd8b770a3ec50512651b

Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-54302 Handle retrying with different migration id after dropping donor state collection
Branch: master
https://github.com/mongodb/mongo/commit/6701ac9e1cb8f42ae479d70f0fa6d1fa2b8bc995

Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-54302 Write tenant migration test when the state doc collection is dropped
Branch: master
https://github.com/mongodb/mongo/commit/b37de758aa8a5fcc74d8af8b7556e3a18d76e90c

Generated at Thu Feb 08 05:33:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.