[SERVER-77934] More robust test coverage for pre-image truncates with failovers Created: 08/Jun/23 Updated: 29/Oct/23 Resolved: 18/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Jordi Olivares Provencio |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Execution EMEA Team 2023-06-26, Execution EMEA Team 2023-07-10, Execution EMEA Team 2023-07-24 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 172 | ||||||||||||
| Description |
|
While there are several change_stream passthrough suites (example), a change streams suite combined with coverage for stepdown/terminate_primary/kill_primary could give valuable test coverage and increase confidence that pre-image truncates are robust against different types of failovers. |
| Comments |
| Comment by Githook User [ 18/Jul/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Githook User [ 03/Jul/23 ] |
|
Author: {'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}Message: Revert " This reverts commit 4d0d8b53091747a37624371a1425a01ce1dab6d6. |
| Comment by Githook User [ 03/Jul/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Githook User [ 29/Jun/23 ] |
|
Author: {'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}Message: Revert " This reverts commit 4d0d8b53091747a37624371a1425a01ce1dab6d6. |
| Comment by Githook User [ 29/Jun/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Jordi Olivares Provencio [ 12/Jun/23 ] |
|
We can't really use the kill_primary overrides by using a matrix suite with change_streams as all the tests that use pre images use client cursors. Using getMore is disallowed by network_error_and_txn_override.js. I'll be converting this into a noPassthrough test that manually rolls back something mid-test and ensures the collection is consistent |