[SERVER-4081] mongod terminates when bufbuilder exceeds 64mb when doing geoNear commandd Created: 16/Oct/11  Updated: 11/Jul/16  Resolved: 29/Nov/11

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

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Brandon Diamond
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-5074 server crash when geoNear result grow... Closed
Operating System: ALL
Participants:

 Description   

This should result in an error, but not a mongod stoppage.



 Comments   
Comment by Brandon Diamond [ 28/Nov/11 ]

Failure occurs earlier than 64mb – since results are placed in a single document, must be careful to avoid going over single document (user) limit. Above patch adds an appropriate check.

Comment by auto [ 28/Nov/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-4081: Truncate geoNear results when too large.
Branch: master
https://github.com/mongodb/mongo/commit/8e53d69f092469b7e157005bfd26e394df01db04

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