[SERVER-3710] _isAuthorizedSpecialChecks needs to return shard connection (conn.done()) Created: 29/Aug/11  Updated: 11/Jul/16  Resolved: 29/Aug/11

Status: Closed
Project: Core Server
Component/s: Security, Sharding
Affects Version/s: 2.0.0-rc0
Fix Version/s: 2.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File sharding_with_keyfile.js     File sharding_with_keyfile.key    
Issue Links:
Related
Operating System: ALL
Participants:

 Description   

.. otherwise we get weirdness and potential errors when we correctly create a versioned connection in the pool but it's then destroyed repeatedly by authorizing.



 Comments   
Comment by auto [ 29/Aug/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: other auth code also needs to return conns SERVER-3710
Branch: master
https://github.com/mongodb/mongo/commit/d43d01444dd6b2c707aa6e7a4d4fcbcb456b2686

Comment by auto [ 29/Aug/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: test for SERVER-3710
Branch: master
https://github.com/mongodb/mongo/commit/8c0e882052259000c665b7ad28f27118bba0ad6f

Comment by auto [ 29/Aug/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: return auth shardConnections to pool when done SERVER-3710
Branch: master
https://github.com/mongodb/mongo/commit/ab2b5d24d6f668b842651166656d5e023a0c129b

Comment by Greg Studer [ 29/Aug/11 ]

Fix is in testing

Comment by Greg Studer [ 29/Aug/11 ]

Attached test needs some minor servers.js modifications to run, will include when integrated into build.

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