[SERVER-23238] Remove public method PlanExecutor::collection() Created: 18/Mar/16 Updated: 05/Jul/16 Resolved: 09/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Sally McNichols |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 16 (06/24/16) |
| Participants: |
| Description |
|
To simplify the PlanExecutor interface, the public method PlanExecutor::collection() should be removed. Collection information should logically be private to the PlanExecutor (it is currently only tracked for purposes of the PlanExecutor registration process). Current callers should use their existing Collection pointers instead of calling this method. The _collection member on PlanExecutor should also be moved to a member on PlanExecutor::ScopedExecutorRegistration. This member should be initialized through new a Collection* parameter to registerExec(). |
| Comments |
| Comment by Githook User [ 09/Jun/16 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |
| Comment by Githook User [ 09/Jun/16 ] |
|
Author: {u'username': u'smcnichols', u'name': u'Sally McNichols', u'email': u'sally.mcnichols@mongodb.com'}Message: |