[SERVER-59923] Retry reshardCollection command from background thread in ReshardingTest fixture Created: 13/Sep/21 Updated: 29/Oct/23 Resolved: 15/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.0.4, 5.1.0-rc1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-fuzzer | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v5.1, v5.0
|
||||||||||||||||||||
| Sprint: | Sharding 2021-09-20, Sharding 2021-10-04, Sharding 2021-10-18 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 162 | ||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Description |
|
Mongos will retry the _shardsvrReshardCollection command on the primary shard of the database only a finite number of times. If the current primary of that replica set is shut down (or steps down and goes into rollback) more than the number of retries from mongos, then the command error response will cause the test to fail.
|
| Comments |
| Comment by Githook User [ 15/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Changes the ReshardingTest fixture to additionally retry the Also removes the shouldSetMinVisibleToOldestOnStartup constructor (cherry picked from commit 257cf738d1d0fa3ec73446133dae8f6b5510b2c4) |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Changes the ReshardingTest fixture to additionally retry the Also removes the shouldSetMinVisibleToOldestOnStartup constructor (cherry picked from commit 257cf738d1d0fa3ec73446133dae8f6b5510b2c4) |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Changes the ReshardingTest fixture to additionally retry the Also removes the shouldSetMinVisibleToOldestOnStartup constructor |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Also adds a setMinVisibleForAllCollectionsToOldestOnStartup failpoint to (cherry picked from commit 0bde7934c623efd194747f65b2e711e188b7c108) |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Also adds a setMinVisibleForAllCollectionsToOldestOnStartup failpoint to (cherry picked from commit 0bde7934c623efd194747f65b2e711e188b7c108) |
| Comment by Githook User [ 12/Oct/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Also adds a setMinVisibleForAllCollectionsToOldestOnStartup failpoint to |