[SERVER-69826] implement js/c++ unit test for WT-9870 Created: 20/Sep/22 Updated: 29/Oct/23 Resolved: 14/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Execution Team 2022-10-17, Execution Team 2022-10-31 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Provides coverage at in the Mongo codebase for a recently resolved WiredTiger issue relating to the recovery process. There is an existing unit test added in |
| Comments |
| Comment by Githook User [ 14/Oct/22 ] | |||||||||||||||||||||||||
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This is the C++ version of the python test test_rollback_to_stable40.py Co-authored-by: Etienne Petrel <etienne.petrel@mongodb.com> | |||||||||||||||||||||||||
| Comment by Benety Goh [ 13/Oct/22 ] | |||||||||||||||||||||||||
|
We will lock in the changes in the ticket and continue working at a higher level in | |||||||||||||||||||||||||
| Comment by Etienne Petrel [ 04/Oct/22 ] | |||||||||||||||||||||||||
|
I am attaching the C++ reproducer (reproducer.cpp To reproduce the failure, apply the following patch:
Then check out a commit that does not have
Compile MongoDB and execute the test:
You should observe the following log indicating the failure:
Indeed, after the restart, the record is not found. On the latest commit of the v6.0 branch c172ccd37516f3c2118f349817cdb1841a2486b9, the issue does not reproduce as expected. |