[SERVER-7931] Long-running ops block killOp/currentOp when using authentication from a localhost connection Created: 13/Dec/12 Updated: 11/Jul/16 Resolved: 17/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.3.1 |
| Fix Version/s: | 2.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
This is because the check to see if there are any admin users blocks acquiring the read lock on the admin database. If we could trylock a database-level lock, then we could trylock the admin DB, and if we can't get the lock just used our cached knowledge of whether or not the admin user exists. |
| Comments |
| Comment by auto [ 17/Dec/12 ] |
|
Author: {u'date': u'2012-12-15T00:38:27Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 17/Dec/12 ] |
|
Git commit hook didn't seem to update this ticket: https://github.com/mongodb/mongo/commit/1f8532cdd688041813c4ccf8d3143ba5a7ceee4f - " |
| Comment by auto [ 14/Dec/12 ] |
|
Author: {u'date': u'2012-12-14T17:48:52Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |
| Comment by auto [ 14/Dec/12 ] |
|
Author: {u'date': u'2012-12-14T17:47:59Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |
| Comment by auto [ 14/Dec/12 ] |
|
Author: {u'date': u'2012-12-13T21:06:53Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |
| Comment by auto [ 14/Dec/12 ] |
|
Author: {u'date': u'2012-12-13T19:51:38Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |
| Comment by Andy Schwerin [ 14/Dec/12 ] |
|
Will need to reenable jstests/sharding/features3.js, jstests/evald.js, jstests/eval4.js, and jstests/mr_killop.js when running with auth enabled, after this bug is fixed. |