[SERVER-58466] Minor optimization on the CatalogCache: do not create a new routing table if the collection version hasn't changed Created: 13/Jul/21  Updated: 29/Oct/23  Resolved: 06/Oct/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.0-rc1, 5.0.16

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

Issue Links:
Backports
Problem/Incident
causes SERVER-66542 Missing log/Update of the stats after... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.1, v5.0
Sprint: Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09, Sharding EMEA 2021-08-23, Sharding EMEA 2021-09-06, Sharding EMEA 2021-09-20, Sharding EMEA 2021-10-04, Sharding EMEA 2021-10-18
Participants:

 Description   

Do not build a new RoutingTable if the information that we got from the CSRS is not more recent than the information we already have locally.



 Comments   
Comment by Githook User [ 27/Mar/23 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-58466 Minor optimization on the CatalogCache

(cherry picked from commit 5a6bcdf77dc1769e2542cb16957fb69073306d03)
Branch: v5.0
https://github.com/mongodb/mongo/commit/2e2da0ba453e68c5723e5f34efa146621d0639fe

Comment by Githook User [ 13/Oct/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-58466 Minor optimization on the CatalogCache

(cherry picked from commit 5a6bcdf77dc1769e2542cb16957fb69073306d03)
Branch: v5.1
https://github.com/mongodb/mongo/commit/3be44450a21d7506405cbf384c4265d573d35030

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-58466 Minor optimization on the CatalogCache
Branch: master
https://github.com/mongodb/mongo/commit/5a6bcdf77dc1769e2542cb16957fb69073306d03

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