[SERVER-3621] mongodump stalls dumping a sharded database when authentication is in use Created: 17/Aug/11 Updated: 11/Jul/16 Resolved: 17/Aug/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.9.2 |
| Fix Version/s: | 2.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernie Hackett | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OSX Lion |
||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Use the attached script to create the database/collection. Read the comments at the head of the file for directions. When mongod and mongos are started without --keyFile everything works fine: $ ./mongodump -d authtest When mongod and mongos are started with --keyFile mongodump stalls dumping the actual documents: $ ./mongodump -d authtest -u theadmin -p adminpass |
| Comments |
| Comment by auto [ 17/Aug/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: test for dump with auth |
| Comment by Kristina Chodorow (Inactive) [ 17/Aug/11 ] |
|
Created |
| Comment by auto [ 17/Aug/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: make isdbgrid have similar permissions to isMaster |
| Comment by Eliot Horowitz (Inactive) [ 17/Aug/11 ] |
|
That's probably too much work for 2.0. |
| Comment by Eliot Horowitz (Inactive) [ 17/Aug/11 ] |
|
We need to make mongos deal with exhaust, that's the real problem. |
| Comment by Kristina Chodorow (Inactive) [ 17/Aug/11 ] |
|
This is caused by there being no non-admin way to check if we are a mongos (isdbgrid) so mongodump uses the "exhaust" option. Can I make isdbgrid a public command? |