[SERVER-59091] Avoid fetching namespace from durable catalog for every key inserted in index build Created: 04/Aug/21  Updated: 29/Oct/23  Resolved: 06/Aug/21

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

Type: Improvement 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
Related
related to SERVER-57610 IndexAccessMethod::commitBulk() retri... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Execution Team 2021-08-09
Participants:
Linked BF Score: 15

 Description   

As of SERVER-57610, we look up an index build's namespace in the durable catalog for every key we insert into the index, each of which requires a lookup in an ordered map. We should instead just do this lookup once.



 Comments   
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 [ 13/Aug/21 ]

Author:

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

Message: SERVER-59091 Avoid fetching namespace from durable catalog for every key inserted in index build

(cherry picked from commit 493eaec7f38729b17792deb4c5c2c6e3eb4a8d2f)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b6eb3fc070baa306cdbf854723e95f76bd9eb139

Comment by Githook User [ 05/Aug/21 ]

Author:

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

Message: SERVER-59091 Avoid fetching namespace from durable catalog for every key inserted in index build
Branch: master
https://github.com/mongodb/mongo/commit/493eaec7f38729b17792deb4c5c2c6e3eb4a8d2f

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