[SERVER-7665] Connection used to update rs config in config servers should get the internal auth table Created: 14/Nov/12  Updated: 11/Jul/16  Resolved: 17/Nov/12

Status: Closed
Project: Core Server
Component/s: Security, Sharding
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2, 2.3.1

Type: Bug 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
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

At the bottom of s/config.cpp, in the replicaSetChange function, we get a ScopedDbConnection to the config servers using ScopedDbConnection::getScopedDbConnection. This should be ScopedDbConnection::getInternalScopedDbConnection.

This can prevent the config servers from being updated when a replica set configuration changes in an authenticated cluster.



 Comments   
Comment by auto [ 17/Nov/12 ]

Author:

{u'date': u'2012-11-14T20:43:49Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}

Message: SERVER-7665 Use getInternalScopedDbConnection for updating RS configuration in config servers
Branch: v2.2
https://github.com/mongodb/mongo/commit/5a4b6a0acc92c171e7b8fd7fecd26585e76b60be

Comment by auto [ 17/Nov/12 ]

Author:

{u'date': u'2012-11-14T20:43:49Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}

Message: SERVER-7665 Use getInternalScopedDbConnection for updating RS configuration in config servers
Branch: master
https://github.com/mongodb/mongo/commit/79a4bf86803bc08355bd9699ccae5a54172b07fc

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