[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: SERVER-23238 Remove trailing whitespace to fix lint.
Branch: master
https://github.com/mongodb/mongo/commit/b62aeb6ead2108b674728984e8b9f94208969d10

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: SERVER-23238 remove the public method PlanExecutor::collection()
Branch: master
https://github.com/mongodb/mongo/commit/197fab23f1e6d928bc800f5a2a560c48c0543e82

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