[SERVER-65766] ShardingStateRecovery makes remote calls to config server while holding the RSTL Created: 18/Apr/22 Updated: 01/Jul/22 Resolved: 01/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jordi Serra Torrens |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27, Sharding EMEA 2022-07-11 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 137 | ||||||||||||||||||||
| Description |
|
Currently, in stepUp while holding the RSTL, we recover the sharding state which includes making remote calls to the config server. This seems non-ideal and a liveness issue as we end up blocking while something has gone wrong with the config server. |
| Comments |
| Comment by Jordi Serra Torrens [ 01/Jul/22 ] |
|
As pointed out by the above comment, ShardingStateRecovery does this by design. However, |
| Comment by Jason Chan [ 18/Apr/22 ] |
|
max.hirschhorn@mongodb.com pointed me to |