[SERVER-38347] txn_override.js needs to retry on NotMaster errors on implicit collection creation Created: 30/Nov/18 Updated: 29/Oct/23 Resolved: 04/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Sharding 2018-12-17 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 65 | ||||||||||||
| Description |
|
If we get an "OperationNotSupportedInTransaction" error, we abort the transaction, create the collection, and then rerun the transaction. If we get "NotMaster" on the collection creation we just return "OperationNotSupportedInTransaction" and then return to the test. Instead, when we create the collection, no matter what happens we should always try to rerun the entire transaction here which will retry the collection creation if needed. |
| Comments |
| Comment by Githook User [ 04/Dec/18 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |