[SERVER-13033] Static Initalizer race condition with CreateDirectClient and server-side Javascript Created: 04/Mar/14 Updated: 11/Jul/16 Resolved: 20/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 2.4.9 |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Prasanna V. Loganathar | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | crash | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Steps To Reproduce: | Same steps, crash the server again. |
||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
Server crash, on an Illegal query under heavy load. |
| Comments |
| Comment by Githook User [ 19/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: (cherry picked from commit 7be64ae7568306dcbf75335a5e80793f4ce1268d) | ||||||
| Comment by Githook User [ 19/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: | ||||||
| Comment by Githook User [ 18/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: Revert " This reverts commit f0b367f3e04408f66fcc8f5bac1425155deec5c3. (cherry picked from commit 1aad465958f32bad33172b03b26012a786d80a86) | ||||||
| Comment by Githook User [ 18/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: Revert " This reverts commit f0b367f3e04408f66fcc8f5bac1425155deec5c3. | ||||||
| Comment by Githook User [ 18/Mar/14 ] | ||||||
|
Author: {u'name': u'Dan Pasette', u'email': u'dan@10mongodb.com'}Message: Revert " This reverts commit c991426e46e416dfad3e433995a1bd2725e9b09c. | ||||||
| Comment by Githook User [ 17/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: | ||||||
| Comment by Githook User [ 17/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: (cherry picked from commit f0b367f3e04408f66fcc8f5bac1425155deec5c3) | ||||||
| Comment by Githook User [ 17/Mar/14 ] | ||||||
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: | ||||||
| Comment by Mark Benvenuto [ 05/Mar/14 ] | ||||||
|
A few things
The crash is occuring on the call db->query after it was loaded from the function local static variable db. I do not know why it is zero in this case. I can think of two possibilities: The query that was run in pymongo: .find( { '$where' : Code("_id = 531643994f2f680020b5f57a") })
|