[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: |
|
||||||||||||
| 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: |
| Comment by Githook User [ 23/Mar/23 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 11/Feb/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 11/Feb/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |