[SERVER-6327] Attempting to write to config or admin dbs while config server is down breaks authenticated clusters Created: 06/Jul/12  Updated: 19/Mar/13  Resolved: 12/Mar/13

Status: Closed
Project: Core Server
Component/s: Security, Sharding
Affects Version/s: 2.0.6, 2.1.2
Fix Version/s: None

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

Issue Links:
Depends
is depended on by SERVER-4237 Enable the full js test suite to run ... Closed
Operating System: ALL
Participants:

 Description   

[ ~ ] mongo
MongoDB shell version: 2.0.4
connecting to: test
test[13:23:59]> use admin
switched to db admin
admin[13:24:3]> db.auth("admin",'password')
1
admin[13:24:10]> db.foo.find()
 
// Shut down 1 config server
 
admin[13:24:25]> db.foo.find()
admin[13:24:44]> db.foo.insert({a:1})
SyncClusterConnection::say prepare failed: 9001 socket exception [6] server [ubuntu:20051]  ubuntu:20051:{}
admin[13:24:49]> db.foo.find()
error: { "$err" : "socket exception", "code" : 9001 }
admin[13:24:51]> use test
switched to db test
test[13:24:58]> db.foo.find()
error: {
        "$err" : "could not initialize cursor across all shards because : socket exception @ replSet2/ubuntu:20011,ubuntu:20012",
        "code" : 14827
}
test[13:24:59]> db.printShardingStatus()
Fri Jul  6 13:25:12 uncaught exception: error { "$err" : "socket exception", "code" : 9001 }



 Comments   
Comment by auto [ 12/Mar/13 ]

Author:

{u'date': u'2013-03-12T14:33:17Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-6327 Re-enable sync_conn_cmd.js in auth passthrough
Branch: master
https://github.com/mongodb/mongo/commit/ceccc68851a118f67a48acd832b1300350951137

Comment by Spencer Brody (Inactive) [ 12/Mar/13 ]

Was able to repro with 2.0.6, but not with 2.2.3 or 2.4.0-RC2. Looks like this has gone away.

Comment by auto [ 10/Jul/12 ]

Author:

{u'date': u'2012-07-09T17:56:26-07:00', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Don't run tests with auth that we know will fail. SERVER-4254 SERVER-6327 SERVER-6368 SERVER-4237
Branch: master
https://github.com/mongodb/mongo/commit/781f22c175e41e30ff217aa87fe93f4c478ede38

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