[SERVER-14554] DBRef JS constructor does not accept $db with --js-engine=v8-3.25 Created: 15/Jul/14  Updated: 05/Feb/15  Resolved: 19/Jul/14

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.7.2
Fix Version/s: 2.7.4

Type: Bug Priority: Major - P3
Reporter: Michael Hudson-Doyle Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: arm64
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-13686 support V8 3.25 JavaScript scripting ... Closed
is related to SERVER-13809 switch default JavaScript engine from... Closed
is related to SERVER-9790 DBRef string representation should in... Closed
Operating System: ALL
Steps To Reproduce:

scons --js-engine=v8-3.25 -j 8 all && buildscripts/smoke.py jstests/core/shelltypes.js

Participants:

 Description   

Various smoke tests fail when built with --js-engine=v8-3.25. I haven't poked into every single one, but the ones I have looked at are all some variation of:

2014-07-15T05:19:26.528+0100 Error: DBRef needs 2 arguments
at Error (native)
at /home/mwhudson/mongo/jstests/core/shelltypes.js:14:5 at /home/mwhudson/mongo/jstests/core/shelltypes.js:14
failed to load: /home/mwhudson/mongo/jstests/core/shelltypes.js

so I suspect that they are all or at least mostly symptoms of the same underlying problem.



 Comments   
Comment by Benety Goh [ 23/Jul/14 ]

Unfortunately we don't have a CI for 3.25 yet. We're glad to hear about the arm64 tests - please feel free to file a SERVER ticket and mention either matt.kangas@10gen.com or myself in the comments if you notice any regressions in the test results

Comment by Michael Hudson-Doyle [ 21/Jul/14 ]

Hi, seems fixed now, thanks! I guess you're not running CI with v8-3.25? Is there anything I can do to help there? We're probably going to start running arm64 tests ourselves but we're not going to be able to integrate that with your systems for a good while yet.

Comment by Githook User [ 19/Jul/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-9790 SERVER-14554 (v8-3.25) Add this.$db || db.toString() to DBRef string representation
Branch: master
https://github.com/mongodb/mongo/commit/63bca554b175f27451876df5a975f43dc79f55ee

Comment by Benety Goh [ 18/Jul/14 ]

mwhudson, it seems that the fix for SERVER-9790 was not ported to v8-3.25.cpp.

We're working on it now!

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