[SERVER-46755] Add ShardInvalidatedForTargeting to list of transient transaction errors in update shard key concurrency test Created: 10/Mar/20 Updated: 29/Oct/23 Resolved: 12/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Blake Oler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Sharding 2020-03-23 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 17 | ||||||||
| Comments |
| Comment by Githook User [ 12/Mar/20 ] |
|
Author: {'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}Message: (cherry picked from commit 5668cdaad543ff9b79cffe97a451cb3018ad42b9) |
| Comment by Blake Oler [ 11/Mar/20 ] |
|
kaloian.manassiev this code gets bubbled up to the client when a transaction can't retry due to a change in cluster data placement. This is a known issue that already exists with StaleShardVersion, and will be solved with PM-1630. The ShardInvalidatedForTargeting error is labeled as a transient transaction error, and will in the current state of the world be automatically retried by drivers. The stakeholders for PM-1633 and the Product Team (specifically garaudy.etienne) are aware of and okay with this behavior for the time being. |
| Comment by Kaloian Manassiev [ 11/Mar/20 ] |
|
blake.oler, does this code ever get returned to the client? If it does, this seems wrong to me, because ShardInvalidatedForTargeting should be something entirely internal between MongoS and MongoD. If it does get returned to the client, do you mind explaining here in a comment under what conditions it would happen? |
| Comment by Githook User [ 10/Mar/20 ] |
|
Author: {'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}Message: |