[SERVER-4030] with v8 assert kills db when accessing a sharded collection via JS Created: 06/Oct/11  Updated: 11/Jul/16  Resolved: 06/Oct/11

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

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

Operating System: ALL
Participants:

 Description   

jstests/sharding/features1.js fails



 Comments   
Comment by Antoine Girbal [ 06/Oct/11 ]

collectionInit throws exception if the collection is sharded, which is correct.
That exception needs to be checked and rethrown in the accessor.
Was failing on empty result.

Comment by auto [ 06/Oct/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: SERVER-4030: with v8 assert kills db when accessing a sharded collection via JS
Branch: master
https://github.com/mongodb/mongo/commit/dfdb07b116bef4c8a39700667cc4ec7559b9bbe5

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