[SERVER-62036] Failures in preCacheMongosRoutingInfo() will cause mongos to fail startup Created: 13/Dec/21  Updated: 29/Oct/23  Resolved: 13/Feb/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.3.0, 4.4.20, 5.0.16

Type: Bug Priority: Major - P3
Reporter: Brett Nawrocki Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-43985 Make mongos pre-cache the routing tab... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2
Sprint: Sharding EMEA 2022-02-21
Participants:
Story Points: 9

 Description   

If preCacheMongosRoutingInfo() fails, it will cause mongos to be unable to start. One observed case was during getShardedCollectionRoutingInfoWithRefresh(), a collection was missing chunks due to another issue and triggered an assertion.

As preCacheMongosRoutingInfo() is an optimization, its failure should not prevent the cluster from starting up.



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

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62036 Failures in preCacheMongosRoutingInfo() will cause mongos to fail startup
Branch: v5.0
https://github.com/mongodb/mongo/commit/1940534fa88ffdbd94bddf1d7d68a20157a79787

Comment by Githook User [ 23/Mar/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62036 Failures in preCacheMongosRoutingInfo() will cause mongos to fail startup
Branch: v4.4
https://github.com/mongodb/mongo/commit/11663aa2b53e41ea6069ecf0b696914d8086ad30

Comment by Githook User [ 11/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62036 Failures in preCacheMongosRoutingInfo() will cause mongos to fail startup
Branch: master
https://github.com/mongodb/mongo/commit/64c2b3d25ba7a50f68e206f5cb05f26d3c3b34fc

Comment by Githook User [ 11/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62036 Failures in preCacheMongosRoutingInfo() will cause mongos to fail startup
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/03adafe4dc127d9649d2485320b53183b52b6cca

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