[SERVER-55382] Ignore error from retryable write being converted to transaction and that transaction failing in random_moveChunk_update_shard_key.js Created: 20/Mar/21 Updated: 29/Oct/23 Resolved: 08/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 4.4.11, 5.0.5, 5.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Luis Osta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v5.1, v5.0, v4.4
|
||||||||
| Sprint: | Sharding 2021-11-15 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 23 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
The $config.data.isUpdateShardKeyErrorAcceptable() function in the random_moveChunk_update_shard_key.js FSM workload is meant to swallow this error. However, it currently only ignores that error accompanied by a NoSuchTransaction code when running in the stepdown suites. We should move ErrorCodes.NoSuchTransaction into the skippableErrors array to reflect the server's new behavior.
|
| Comments |
| Comment by Githook User [ 09/Nov/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit 801a0f84afb7f22c91f93e1a67463181a8e032b9) |
| Comment by Githook User [ 09/Nov/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit 801a0f84afb7f22c91f93e1a67463181a8e032b9) |
| Comment by Githook User [ 09/Nov/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: (cherry picked from commit 801a0f84afb7f22c91f93e1a67463181a8e032b9) |
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}Message: |