[SERVER-57673] Use vector.reserve() in ShardingCatalogClientImpl Created: 14/Jun/21  Updated: 29/Oct/23  Resolved: 14/Jun/21

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

Type: Improvement Priority: Major - P3
Reporter: Simon Gratzer (Inactive) Assignee: Simon Gratzer (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-06-14
Participants:
Linked BF Score: 0

 Description   

Improve memory usage and performance by avoiding realloc on inserting in vector



 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 [ 16/Jun/21 ]

Author:

{'name': 'Simon Graetzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-57673 Use vector.reserve() in ShardingCatalogClientImpl
Branch: SERVER-34632
https://github.com/mongodb/mongo/commit/69ea6153374eaa35128871ea13e48cd8735f0f04

Comment by Githook User [ 14/Jun/21 ]

Author:

{'name': 'Simon Graetzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-57673 Use vector.reserve() in ShardingCatalogClientImpl (BACKPORT-9643)
Branch: v5.0
https://github.com/mongodb/mongo/commit/9729862457f0b77972613b20465785a48e592065

Comment by Githook User [ 14/Jun/21 ]

Author:

{'name': 'Simon Graetzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-57673 Use vector.reserve() in ShardingCatalogClientImpl
Branch: master
https://github.com/mongodb/mongo/commit/69ea6153374eaa35128871ea13e48cd8735f0f04

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