-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON, Public API
-
None
-
Environment:ubuntu linux image
Attempting to query a single collection for rows with 1 field matching. The field to be matched on is a BSON::ObjectId
Here is the code snippet:
./mongodataremove.rb -c Config.cfg
Log File created for this test run is: mongodatadelete.log
51aca5a06dedda916400002b
/var/lib/gems/2.1.0/gems/mongo-1.12.0/lib/mongo/cursor.rb:160:in `next': BSONObj size: 1997030986 (0x7708464A) is invalid. Size must be between 0 and 16793600(16MB) First element: thingsF2014-01-28T15:21:43+00:0S?%????: ?type=105 (Mongo::OperationFailure)
from /var/lib/gems/2.1.0/gems/mongo-1.12.0/lib/mongo/cursor.rb:342:in `each'
from /home/admin/jhb/ProcessMongoRemoveData.rb:104:in `getUsers'
from ./mongodataremove.rb:316:in `block in <main>'
from ./mongodataremove.rb:312:in `each'
from ./mongodataremove.rb:312:in `<main>'
When I run the query from the Mongo client I receive no errors