[SERVER-39843] Allow findAndModify to change the shard key value if retryable write when the doc will move shards Created: 26/Feb/19 Updated: 29/Oct/23 Resolved: 22/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.11 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2019-04-22 |
| Participants: |
| Description |
|
If the findAndModify is a retryable write and we get a WCOS error, start a transaction an re-run the original findAndModify using the logic implemented in |
| Comments |
| Comment by Githook User [ 22/Apr/19 ] |
|
Author: {'name': 'jannaerin', 'username': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |
| Comment by Githook User [ 22/Apr/19 ] |
|
Author: {'email': 'golden.janna@gmail.com', 'name': 'jannaerin', 'username': 'jannaerin'}Message: |