[SERVER-12868] index intersection needs to track memory usage and abort if it's too high Created: 24/Feb/14  Updated: 11/Jul/16  Resolved: 28/Feb/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: hari.khalsa@10gen.com Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Should do this in a fashion similar to how sort does it. Unclear if we want to use the incorrect accounting that sort currently uses or the 'real' accounting that is much leaner. Either way, we should do something.

All of the logic to fall back on an indexed sort should be generalized to fall back on a non-blocking plan.



 Comments   
Comment by Githook User [ 28/Feb/14 ]

Author:

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

Message: SERVER-12868 Pick backup plan when winning plan contains hashed AND stage
Branch: master
https://github.com/mongodb/mongo/commit/ba9db2cc41b42e8867d84d14761659fe292d5a95

Comment by Githook User [ 28/Feb/14 ]

Author:

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

Message: SERVER-12868 renamed QuerySolution::hasSortStage to more generic hasBlockingStage
Branch: master
https://github.com/mongodb/mongo/commit/80fcae04c76b2d7264e93a0e1943a47c58b2d821

Comment by Githook User [ 28/Feb/14 ]

Author:

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

Message: SERVER-12868 added getMemUsage to WorkingSetMember
Branch: master
https://github.com/mongodb/mongo/commit/94cbec5589f05b257a48fd73e1153c02a5ae1ff5

Comment by Githook User [ 28/Feb/14 ]

Author:

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

Message: SERVER-12868 added memory usage accounting to hashed AND stage
Branch: master
https://github.com/mongodb/mongo/commit/5e120d33c761d2dd89ae260751ab1368c512a8d5

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