[SERVER-77778] Test targeter refreshing when we receive stale config errors from the shards Created: 04/Jun/23 Updated: 22/Jan/24 Resolved: 22/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Sean Zimmerman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | autogen-todo, milestone-2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2023-06-12, Repl 2023-06-26, Repl 2023-07-10, Repl 2023-07-24, Repl 2023-08-07, Repl 2024-02-05 | ||||||||
| Participants: | |||||||||
| Description |
|
We have a few unit tests that mock a shard response when mongos sends a bulkWrite command. This is to test that mongos, when it receives a stale config error response from the shard, refreshes itself, and additionally, when the number of refresh attempts exceeds kMaxRoundsWithoutProgress, we return a NoProgressMade error. See here for more info. Note that we already have an integration JS test for stale config errors here, so we don't really need to test that. What we need to test is regarding the number of refreshes. Original generated JIRA text: Please follow this link to see the lines of code referencing this resolved ticket: The next steps for this ticket are to either remove the outdated TODO or follow the steps in the TODO if it is correct. If the latter, please update the summary and description of this ticket to represent the work you're actually doing. |
| Comments |
| Comment by Githook User [ 20/Jan/24 ] |
|
Author: {'name': 'seanzimm', 'email': '102551488+seanzimm@users.noreply.github.com', 'username': 'seanzimm'}Message: GitOrigin-RevId: c35641701be7c81781e3159840e3992706d95481 |