[SERVER-55343] Investigate temp collection behavior during tenant migrations Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 19/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, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jason Zhang Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.9
Sprint: Repl 2021-04-19, Repl 2021-05-03, Repl 2021-05-17, Repl 2021-05-31
Participants:

 Description   

When temp collections are cloned from the donor primary to the recipient primary, the idIndex versions seem to differ. Donor typically shows: "idIndex" : { "v" : 1, "key" :

{ "_id" : 1 }

, "name" : "id" } }, while recipient shows: "idIndex" : { "v" : 2, "key" :

{ "_id" : 1 }

, "name" : "id" } }. This causes the dbhash check done in the passthrough suite when a migration has committed to fail. 



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 20/May/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55343 Include temp collections for tenant migration DBHash check.

(cherry picked from commit 532a6a8ae7b8e7ab5939e900759c00794862963d)
Branch: v4.9
https://github.com/mongodb/mongo/commit/77686251442d303c65b2c9cd0876c1fe5dccdc34

Comment by Githook User [ 20/May/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55343 Include temp collections for tenant migration DBHash check.

(cherry picked from commit 532a6a8ae7b8e7ab5939e900759c00794862963d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/238c01495a98438fb746454f9abd4012a7e40e1a

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-55343 Include temp collections for tenant migration DBHash check.
Branch: master
https://github.com/mongodb/mongo/commit/532a6a8ae7b8e7ab5939e900759c00794862963d

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