[SERVER-60322] Failed index build initialization during rename collection between dbs may not clean itself up from collection metadata Created: 29/Sep/21  Updated: 29/Oct/23  Resolved: 04/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
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:
v5.0
Sprint: Execution Team 2021-10-18
Participants:
Linked BF Score: 31

 Description   

In preparing to start an index build, we write information about that index to the collection metadata. However, if the index build initialization fails, we may not clean up the information about this index from the collection metadata.



 Comments   
Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-60322 Do not re-use `Collection*` when renaming collection between databases

(cherry picked from commit 5a7aade7b5939c5946f84b337886f861a33bab1a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/91944199b9bb27ff2864c3ee6b0c18f1448e121c

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 [ 04/Oct/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-60322 Do not re-use `Collection*` when renaming collection between databases
Branch: master
https://github.com/mongodb/mongo/commit/5a7aade7b5939c5946f84b337886f861a33bab1a

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