[SERVER-3475] dbhash.js test fails with md5 hash not being generated for some collections when run in parallel/basic.js and parallel/basicPlus.js Created: 25/Jul/11  Updated: 12/Jul/16  Resolved: 08/Aug/11

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

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

Operating System: ALL
Participants:

 Description   

assert: ["b562f33e55fac5be5e491ef29dde6f6b"] != [""] are not equal : A3
Error: Printing Stack Trace
at shell/utils.js:35:7
at shell/utils.js:46:1
at Function.eq (shell/utils.js:72:1)
at jstests/dbhash.js:35:8
at _funcs1:7:40
at Function.timeFunc (shell/utils.js:283:9)
at _funcs1:7:17
at Array.forEach (native)
at Number.<anonymous> (_funcs1:4:6)
at _funcs1:122:65
Sat Jul 23 20:10:48 exec error: shell/utils.js:47 ["b562f33e55fac5be5e491ef29dde6f6b"] != [""] are not equal : A3
throw msg;

assert: [""] != ["44630b03208785a5d03c20cc3d56c2de"] are not equal : A3
Error: Printing Stack Trace
at shell/utils.js:19:7
at shell/utils.js:30:1
at Function.eq (shell/utils.js:56:1)
at jstests/dbhash.js:35:8
at _funcs1:7:40
at Function.timeFunc (shell/utils.js:267:9)
at _funcs1:7:17
at Array.forEach (native)
at Number.<anonymous> (_funcs1:4:6)
at _funcs1:122:65
Mon Jun 6 19:20:20 exec error: shell/utils.js:31 [""] != ["44630b03208785a5d03c20cc3d56c2de"] are not equal : A3
throw msg;

One guess right now is that some collection in the test db is missing an id index while one dbhash command has a read mutex, causing dbhash to abort without generating output for all collections. In both failure cases I've seen this test runs at the same time as geo_center_spere2.js but that could be a red herring.



 Comments   
Comment by auto [ 07/Aug/11 ]

Author:

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

Message: SERVER-3475 don't close the builder in missing _id index case
Branch: master
https://github.com/mongodb/mongo/commit/36f0f03adbffcd8a63d6f7d45ce6cd0fef51b930

Comment by auto [ 05/Aug/11 ]

Author:

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

Message: SERVER-3475 ignore certain collections without an _id index in dbhash command
Branch: master
https://github.com/mongodb/mongo/commit/470aac09a264d7b119c74c3dd45317d10d05f0f3

Comment by auto [ 31/Jul/11 ]

Author:

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

Message: SERVER-3475 debugging
Branch: master
https://github.com/mongodb/mongo/commit/1e226c16b714e4c7e5f498d18e5d2303de61dd12

Comment by Aaron Staple [ 25/Jul/11 ]

Will add some debugging shortly.

Generated at Thu Feb 08 03:03:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.