[SERVER-25476] Create WiredTiger recovery mongodb test from scripts Created: 21/Jun/16 Updated: 19/Nov/16 Resolved: 17/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Susan LoVerso | Assignee: | Susan LoVerso |
| Resolution: | Done | Votes: | 0 |
| Labels: | WTSmallProject | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Storage 2016-10-31 |
| Participants: |
| Description |
|
In |
| Comments |
| Comment by Githook User [ 11/Oct/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: |
| Comment by Githook User [ 11/Oct/16 ] |
|
Author: {u'username': u'sueloverso', u'name': u'Susan LoVerso', u'email': u'sue@mongodb.com'}Message: |
| Comment by Susan LoVerso [ 30/Aug/16 ] |
|
alexander.gorrod I have a test working and I'm ready to push. Let's discuss if my process that I have written is out of date. I did run the test against 3.2.6 and it failed, finding the recovery bug, in 3 iterations. It has run a few dozen against master successfully so far. |
| Comment by Kamran K. [ 12/Aug/16 ] |
|
The attached test has the logic for killing mongod and retrieving data from ScopedThreads. You can place it in jstests/noPassthrough and run this resmoke.py command to execute it: python buildscripts/resmoke.py --executor=no_passthrough jstests/noPassthrough/wt_large_records_unclean_shutdown.js Let me know if you have any questions. |
| Comment by Susan LoVerso [ 12/Aug/16 ] |
|
kamran.khan and I had a call today. The summary is that the shell script from I will then fill in the parts specific for this test and run it on an old/unfixed version of WT to make sure we can reproduce the problem, and also on a current version where it should not reproduce. |
| Comment by Susan LoVerso [ 11/Aug/16 ] |
|
alexander.gorrod Yes, automated WT test test/recovery/random-abort covers this issue. That test was modified to include reproducing this failure, as long as it is run with diagnostic enabled. The pull-request-tester Jenkins job configures with diagnostic and runs make check which will run this test every time. Let me know who I should work with for the MongoDB reproducer scripts. |
| Comment by Alexander Gorrod [ 08/Aug/16 ] |
|
sue.loverso I just went and looked at the original ticket, and it appears as though there is coverage for the failure in automated WiredTiger testing - is that correct? ian.whalen Could you point me towards someone who could take some reproducer scripts and turn them into an automated test for MongoDB? |