[SERVER-8460] Remove ScopedDbConnection::getScopedDbConnection factory functions in favor of instantiating ScopedDbConnections directly Created: 07/Feb/13  Updated: 11/Jul/16  Resolved: 14/Mar/13

Status: Closed
Project: Core Server
Component/s: Internal Code, Security, Sharding
Affects Version/s: 2.4.0-rc0
Fix Version/s: 2.5.0

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-4156 fix read only user support with sharding Closed
Participants:

 Description   

Now that we no longer have auth tables, there is no reason to have the ScopedDbConnection::getScopedDbConnection and ScopedDbConnection::getInternalScopedDbConnection factory functions, and we can return to our pre-2.2 behavior of instantiating ScopedDbConnections directly.



 Comments   
Comment by auto [ 14/Mar/13 ]

Author:

{u'date': u'2013-03-14T17:27:27Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8460 Fix build by not using ConnectionString constructor directly on a SyncClusterConnection
Branch: master
https://github.com/mongodb/mongo/commit/74f23e0b2149b376ee41d5e9c1d4b29dc3a94085

Comment by auto [ 14/Mar/13 ]

Author:

{u'date': u'2013-03-14T13:54:19Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8460 Remove references to library notmongodormongos from SConscripts.
Branch: master
https://github.com/mongodb/mongo/commit/047778363178a9040f92ca14df8ae0114903d5cd

Comment by Andy Schwerin [ 14/Mar/13 ]

Reopening due to build failure.

Comment by auto [ 14/Mar/13 ]

Author:

{u'date': u'2013-03-14T09:27:43Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8460 Visual Studio – remove connection_factory.cpp
Branch: master
https://github.com/mongodb/mongo/commit/c8008c1bfc7ae2866813147ad689b2508b2aeb3e

Comment by auto [ 13/Mar/13 ]

Author:

{u'date': u'2013-03-12T19:13:36Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8460 Remove ScopedDbConnection::getScopedDbConnection factory functions
Branch: master
https://github.com/mongodb/mongo/commit/1ae603134a992931ef85511e23d8aafffe6deda3

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