[SERVER-47700] renameCollection should check if the target collection exists before accessing the collection object Created: 22/Apr/20  Updated: 29/Oct/23  Resolved: 22/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-46659 Make initial sync work with two phase... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-05-04
Participants:
Linked BF Score: 50

 Description   

This check was removed as part of SERVER-46659, but was incorrect.



 Comments   
Comment by Githook User [ 30/Apr/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-46659 Initial sync will startup two phase index builds during the collection cloning phase to prevent a scenario where the commit quorum cannot be satisfied due to the primary node needing the initial syncing nodes vote

(cherry picked from commit b957b68205fbf672867cf68e30c0744ac5abfb9f)

SERVER-47700 renameCollection should check if the target collection exists before accessing the collection object

(cherry picked from commit a6424fafa179805e192dc354cae85fdf0359f95e)
Branch: v4.4
https://github.com/mongodb/mongo/commit/8dc854b5354ad2a2d236575b00c8e4a1c871952f

Comment by Githook User [ 22/Apr/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-47700 renameCollection should check if the target collection exists before accessing the collection object
Branch: master
https://github.com/mongodb/mongo/commit/a6424fafa179805e192dc354cae85fdf0359f95e

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