[SERVER-42441] renameCollectionForApplyOps should always rename the target out of the way if it exists Created: 25/Jul/19  Updated: 29/Oct/23  Resolved: 01/Aug/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.6.15, 4.0.13, 4.2.1, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: isfz
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Execution Team 2019-07-29, Execution Team 2019-08-12
Participants:
Linked BF Score: 0

 Description   

renameCollectionForApplyOps only renames the target out of the way if dropTarget is true and UUIDToDrop does not point to the target.



 Comments   
Comment by Githook User [ 16/Sep/19 ]

Author:

{'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists

(cherry picked from commit e5fd4679b3ff5857140db7b644375756f2b7db82)
Branch: v3.6
https://github.com/mongodb/mongo/commit/734306ecd8345b55b2758f9c34055b2e62bff015

Comment by Githook User [ 16/Sep/19 ]

Author:

{'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao'}

Message: SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists
Branch: v4.0
https://github.com/mongodb/mongo/commit/e3245cafe04a4be60abf4994452b0a62585acdba

Comment by Githook User [ 16/Aug/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists

(cherry picked from commit bcde4c4fd354dd58ae17971478a405588a3acea0)
Branch: v4.2
https://github.com/mongodb/mongo/commit/cfa9e8f61d6873235722f2b1b57cb93148ee2ddb

Comment by Githook User [ 01/Aug/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists
Branch: master
https://github.com/mongodb/mongo/commit/bcde4c4fd354dd58ae17971478a405588a3acea0

Comment by Githook User [ 01/Aug/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: Revert "SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists"

This reverts commit dd29b01f81bfc394509eedefaa0a524cd33fbbb1.
Branch: master
https://github.com/mongodb/mongo/commit/351205deee59fbddd9ab570d80f955a60e2fd597

Comment by Githook User [ 01/Aug/19 ]

Author:

{'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-42441 renameCollectionForApplyOps should always rename the target out of the way if it exists
Branch: master
https://github.com/mongodb/mongo/commit/dd29b01f81bfc394509eedefaa0a524cd33fbbb1

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