[SERVER-15762] index_retry.js fails due to an inability to execute a query Created: 14/Aug/14 Updated: 16/Apr/15 Resolved: 21/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.8 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Matt Dannenberg | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | timeout_on_slow_IO | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
https://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_debug_1f5428d02542074a49e054172f4dac46b06fd97b_14_08_14_14_40_27_noPassthroughWithMongod_windows_64_debug
|
| Comments |
| Comment by Githook User [ 21/Oct/14 ] | |||||||||||||||||||||||||||||||||||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: | |||||||||||||||||||||||||||||||||||||||
| Comment by Mark Benvenuto [ 21/Oct/14 ] | |||||||||||||||||||||||||||||||||||||||
|
It is a race condition between the journal flush, and the kill to abort the index build. On Windows, the journal flush is taking a little to long to run, and so when the mongod restarts, the createIndex command does not exist in the database. The fix is to wait until the journal is flushed. | |||||||||||||||||||||||||||||||||||||||
| Comment by Crystal Horn [ 15/Oct/14 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by Gabriel Russell (Inactive) [ 17/Sep/14 ] | |||||||||||||||||||||||||||||||||||||||
|
ba726b4ee2 Windows 64-bit 2008R2+ noPassthroughWithMongod | |||||||||||||||||||||||||||||||||||||||
| Comment by Siyuan Zhou [ 15/Sep/14 ] | |||||||||||||||||||||||||||||||||||||||
|
2d8603ecc5 Windows 64-bit DEBUG noPassthroughWithMongod | |||||||||||||||||||||||||||||||||||||||
| Comment by Siyuan Zhou [ 12/Sep/14 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by Adinoyi Omuya [ 05/Sep/14 ] | |||||||||||||||||||||||||||||||||||||||
|
Another instance in f258721ea5 noPassthroughWithMongod on Windows 64-bit 2008R2+ DEBUG. | |||||||||||||||||||||||||||||||||||||||
| Comment by Benety Goh [ 30/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
79626bc249 Windows 64-bit 2008R2+ DEBUG noPassthroughWithMongod
| |||||||||||||||||||||||||||||||||||||||
| Comment by Benety Goh [ 28/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
Successful test run contains the following log messages: 6e90ddf91f Windows 64-bit DEBUG noPassthroughWithMongod
| |||||||||||||||||||||||||||||||||||||||
| Comment by Benety Goh [ 28/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
4b3e0275c3 Windows 64-bit DEBUG noPassthroughWithMongod
| |||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 26/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
Additional logging added to the test in the following commit:
This ticket is now waiting for another failure in order to gather more information. | |||||||||||||||||||||||||||||||||||||||
| Comment by David Storch [ 26/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
The test does the following:
The test is failing at the final step: i.e. it is taking more than 60 seconds for the index build to complete. This is very likely a timeout due to slow IO on Windows machines. However, I propose adding some logging to the test which will help to determine how fast the index build is proceeding. | |||||||||||||||||||||||||||||||||||||||
| Comment by sam.helman@10gen.com [ 25/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by sam.helman@10gen.com [ 21/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by Michael O'Brien [ 15/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
| Comment by Matt Dannenberg [ 14/Aug/14 ] | |||||||||||||||||||||||||||||||||||||||
|
again: https://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_2k8_debug_10827279fbc6380d4d7774837022b65b3204a988_14_08_14_15_45_51_noPassthroughWithMongod_windows_64_2k8_debug |