[SERVER-77842] Cache IndexCatalogEntry during the collection scan phase of an index build Created: 06/Jun/23  Updated: 29/Oct/23  Resolved: 09/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc4

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

Attachments: File after-server-77062.svg     File before-server-77062.svg     PNG File image-2023-06-06-13-12-39-597.png     File with-fix.svg    
Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-77062 Perform copy-on-write of index catalo... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Execution Team 2023-06-12
Participants:
Linked BF Score: 155

 Description   

SERVER-77062 introduced copy-on-write semantics for IndexCatalogEntry and removed cached pointers. This has introduced noticeable performance regressions during the collection scan phase of an index build. We can safely cache the IndexCatalogEntry here to get this performance back.



 Comments   
Comment by Githook User [ 12/Jun/23 ]

Author:

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

Message: SERVER-77842 Cache IndexCatalogEntry during the collection scan phase of an index build

(cherry picked from commit 6ae4f3e1279cc9b9ebc8ac82f1c47eca7a8a6c9d)
Branch: v7.0
https://github.com/mongodb/mongo/commit/d631f4f633f5f6b2576fa49d281dc144a7ac4f38

Comment by Githook User [ 08/Jun/23 ]

Author:

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

Message: SERVER-77842 Cache IndexCatalogEntry during the collection scan phase of an index build
Branch: master
https://github.com/mongodb/mongo/commit/6ae4f3e1279cc9b9ebc8ac82f1c47eca7a8a6c9d

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