[SERVER-50928] Remove IndexCatalog pointer stored in IndexBuildBlock Created: 14/Sep/20  Updated: 29/Oct/23  Resolved: 15/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-09-21
Participants:

 Description   

When Collections can be copied this pointer can dangle.



 Comments   
Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-50928 Remove IndexCatalog* stored in IndexBuildBlock

It can go stale when we perform copy-on-write on the Collection.
Pass in current Collection where it is needed.
Branch: master
https://github.com/mongodb/mongo/commit/a13aa67e179d3400bb8a61a8a995f601d97336be

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