[SERVER-34648] Write test for all types of transaction write conflicts Created: 24/Apr/18 Updated: 29/Oct/23 Resolved: 05/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0, 4.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||
| Sprint: | Repl 2018-05-07, Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Story Points: | 4 | ||||||||||||||||||||
| Description |
|
We want to verify that all possible types of write conflicts correctly abort transactions. This can generally be tested by running two transactions in different sessions, and exercising the cases listed below. There may be additional interesting cases that are worth testing. Single Document Conflicts
Predicate Based Conflicts
|
| Comments |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: (cherry picked from commit 8d2ff6ae7c17b32eb31b8d35bb2e42a9a64169aa) |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'visualzhou', 'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com'}Message: (cherry picked from commit 89820c9380b4c71323d3bfe166156f39d4ddae28) |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: (cherry picked from commit 96f3bf9c2f9d8180e5852ff7ec6bdfee545762b4) |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: (cherry picked from commit 975569e47b84dd70c20e81b2abb6b991195c8391) |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: |
| Comment by Githook User [ 06/Jun/18 ] |
|
Author: {'username': 'visualzhou', 'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com'}Message: |
| Comment by Githook User [ 05/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: |
| Comment by Githook User [ 05/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: |
| Comment by William Schultz (Inactive) [ 05/Jun/18 ] |
|
Code review url (Refactor write conflict testing logic into helper library): https://mongodbcr.appspot.com/206660001/ |
| Comment by Githook User [ 04/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: (cherry picked from commit 27b080da5ab09b324514a62ab38a3e6463e0d1c1) |
| Comment by Githook User [ 04/Jun/18 ] |
|
Author: {'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}Message: |
| Comment by William Schultz (Inactive) [ 31/May/18 ] |
|
Code review url (Add test for additional write conflict ordering): https://mongodbcr.appspot.com/209100003 |
| Comment by Githook User [ 08/May/18 ] |
|
Author: {'email': 'william.schultz@mongodb.com', 'name': 'William Schultz', 'username': 'will62794'}Message: |