[SERVER-1708] moveprimary does not work when moving a db between replica set shards Created: 31/Aug/10 Updated: 12/Jul/16 Resolved: 25/Oct/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding |
| Affects Version/s: | 1.6.1 |
| Fix Version/s: | 1.7.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tony Hannan | Assignee: | Tony Hannan |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
> ./mongod --version > ./mongos --version |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
moveprimary works for individual server shards but not for replica set shards. To reproduce: ) runCommand yields following error: { "ok" : 0, "errmsg" : "clone failed" }assert failed : { "ok" : 0, "errmsg" : "clone failed" }Error("Printing Stack Trace (lines are 0-based in spidermonkey)")@:0 ")@shell/utils.js:31 ")@shell/utils.js:41 failed to load: /Users/afsheenb/MongoDB/mongo/jstests/tony/ajh1.js mongos log: |
| Comments |
| Comment by Tony Hannan [ 25/Oct/10 ] |
|
Test case moved to jstests/slowNightly/moveprimary-replset.js |
| Comment by Tony Hannan [ 25/Oct/10 ] |
|
It works. Test at jstests/grid/moveprimary-replset.js |
| Comment by Eliot Horowitz (Inactive) [ 24/Oct/10 ] |
|
can you test again? |
| Comment by Eliot Horowitz (Inactive) [ 27/Sep/10 ] |
|
No workarounds - will get this fixed soon though |
| Comment by Eric Anderson [ 27/Sep/10 ] |
|
Any workarounds? |