[SERVER-11055] mergeChunk error message wrong when chunk on wrong shard Created: 06/Oct/13 Updated: 11/Jul/16 Resolved: 24/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.5.2 |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Asya Kamsky | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | sh.splitAt("foo.bad",{_id:0}) { "ok" : 1 }foo@local(2.5.2) > sh.moveChunk("foo.bad",{_id:-1},"shard0001") { "millis" : 32, "ok" : 1 }foo@local(2.5.2) > sh._adminCommand({mergeChunks:"foo.bad", bounds:[{_id:MinKey},{_id:MaxKey}]}) Sometimes it says "ending at" - depending on where it started. |
||||
| Participants: | |||||
| Description |
|
Split a chunk. Move one of new (empty) chunks to another shard. Try to (re)merge those two chunks. Error message: "errmsg" : "could not merge chunks, collection foo.bar does not contain a chunk ending at { _id: 40.0 }" Error message should say that collection does not contain chunk ending at <key> on this shard or "the chunks you want to merge are on different shards". |
| Comments |
| Comment by auto [ 24/Oct/13 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |