[SERVER-15450] Avoid getStats() and keep interval stages as children in NearStage Created: 29/Sep/14  Updated: 25/Oct/14  Resolved: 01/Oct/14

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

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-84819 geo performance issue in 2.7.7 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In NearStage, getStats() is expensive and should only be used in explain() and query plan cache. Instead, we should keep interval stages as children and only call getStats() on them when it's necessary.



 Comments   
Comment by Githook User [ 01/Oct/14 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-15450 Avoid getStats() and keep interval stages as children in NearStage
Branch: master
https://github.com/mongodb/mongo/commit/b1c3d803d97c455c00ffb034296128434f5c7616

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