[SERVER-6157] Refactor BSONObjExtSort Created: 21/Jun/12  Updated: 11/Jul/16  Resolved: 11/Sep/13

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Improvement Priority: Minor - P4
Reporter: Andy Schwerin Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-7694 external sort for find command Closed
is depended on by SERVER-3867 aggregation: use external sort to ha... Closed
Duplicate
is duplicated by SERVER-6070 freebsd really slow in external sort Closed
is duplicated by SERVER-5087 reduce required memory for aggregatio... Closed
is duplicated by SERVER-6139 qsort for FreeBSD Closed
is duplicated by SERVER-6850 External Sort should have a more gene... Closed
Related
is related to SERVER-4534 Index creation opens too many files f... Closed
is related to SERVER-6271 $group does not track memory usage Closed
is related to SERVER-6272 aggregation does not track memory usa... Closed
is related to SERVER-6273 aggregation tracks memory usage for a... Closed
Participants:

 Description   

The part of the external sort code that does external sorting should be re-entrant, and shouldn't need to consult global variables (such as dbpath). This would make it more testable, and easier to use to index multiple collections at once. It should also separate the external sort functionality from bson index building / comparison functionality, again for separate testability.



 Comments   
Comment by Githook User [ 12/Sep/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-6157 Remove FastArray

It has no remaining users since the old external sorter was removed. Since it
has no advantages over a std::vector, it should never be used again.
Branch: master
https://github.com/mongodb/mongo/commit/34d01ffe20704eb5504dc526c372d945555dd0e7

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