[SERVER-47524] Update stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription Created: 14/Apr/20 Updated: 29/Oct/23 Resolved: 29/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Tommaso Tocci |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1645-Milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2020-04-20, Sharding 2020-05-04 | ||||||||
| Participants: | |||||||||
| Description |
|
|
| Comments |
| Comment by Githook User [ 29/Apr/20 ] | |
|
Author: {'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}Message: | |
| Comment by Tommaso Tocci [ 22/Apr/20 ] | |
|
Last EVG: https://evergreen.mongodb.com/version/5ea06caf7742ae06edffeb2c Sharding suite failed, mongos gets a StaleConfig on a establishingCursors()
The shard is throwing on getMetadataWithVersionCheckAt
| |
| Comment by Tommaso Tocci [ 15/Apr/20 ] | |
|
When using the new getCollectionDescription function that throws, the attached update_stage_throws.stacktrace.txt shows that in mongo::repl::applyOplogEntryOrGroupedInserts we do a call to mongo::update in a writeConflictRetry. If the update operation throws a staleConfigException, the exception get propagated up to this catch then converted to a status object and bubbled up. We need to find a way to handle the StaleConfigException somewhere in this code path. | |
| Comment by Tommaso Tocci [ 14/Apr/20 ] | |
|
last EVG tracking failures https://evergreen.mongodb.com/version/5e95e1933627e055ace4804d |