[SERVER-761] dbhash test triggers getFile() n==-2 error in parallel tests Created: 16/Mar/10  Updated: 12/Jul/16  Resolved: 21/Apr/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.4

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Description   

<http://buildbot.mongodb.org/builders/Linux%2064-bit%20v8/builds/294/steps/test_3/logs/stdio>
<http://buildbot.mongodb.org/builders/Linux%2064-bit%20v8/builds/297/steps/test_3/logs/stdio>



 Comments   
Comment by Eliot Horowitz (Inactive) [ 21/Apr/10 ]

if this is still happening - should open a new case since the patches for this went out in 1.3.4

Comment by auto [ 30/Mar/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-761 debug
http://github.com/mongodb/mongo/commit/093c24fdd040ae5003b2ce26492fbd79a6de36a2

Comment by auto [ 30/Mar/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-761 debug
http://github.com/mongodb/mongo/commit/2c7c558cf8995874279a5b6362ac6e375491b5a4

Comment by Aaron Staple [ 30/Mar/10 ]

above was not in a parallel test

Comment by Aaron Staple [ 30/Mar/10 ]

<http://buildbot.mongodb.org/builders/Linux%2064-bit%20v8/builds/380/steps/test_4/logs/stdio>

Comment by auto [ 16/Mar/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-761 don't release mutex in deleteObjects() in god mode
http://github.com/mongodb/mongo/commit/b4257fa816266b8a0e0803bfec1949ea2c287860

Comment by Eliot Horowitz (Inactive) [ 16/Mar/10 ]

yeah - can you work on this

Comment by Aaron Staple [ 16/Mar/10 ]

This probably caused SUPPORT-23 as well.

Comment by Aaron Staple [ 16/Mar/10 ]

I'm pretty sure the problem is as follows:

We kill a collection on a db with a large number of indexes. We delete the index data structures. Then we call deleteObjects() to clear the values in system.indexes. deleteObjects() yields the mutex, then the dbhash command starts running and sees an object in system.indexes but an invalid index data structure. There seems to be a similar issue when we delete from system.namespaces.

Let me know if you want me to work on it.

Comment by Aaron Staple [ 16/Mar/10 ]

<http://buildbot.mongodb.org/builders/Linux%2064-bit%20v8/builds/301/steps/test_3/logs/stdio>

Generated at Thu Feb 08 02:55:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.