[SERVER-6006] moveChunk fails with migration already in progress Created: 05/Jun/12  Updated: 11/Jul/16  Resolved: 06/Jun/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 2.0.7, 2.1.2

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

	
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] creating pcursor over QSpec { ns: "config.shards", n2skip: 0, n2return: -1, options: 0, query: { _id: { $ne: "rs2-rs0" } }, fields: {} } and CInfo { v_ns: "", filter: {} }
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] initializing on shard config:erh2.10gen.cc:29000, current connection state is { state: {}, retryNext: false, init: false, finish: false, errored: false }
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] initializing over 1 shards required by [unsharded @ config:erh2.10gen.cc:29000]
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] finishing over 1 shards
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] initialized query (lazily) on shard config:erh2.10gen.cc:29000, current connection state is { state: { conn: "erh2.10gen.cc:29000", vinfo: "config:erh2.10gen.cc:29000", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: true, finish: false, errored: false }
 m30999| Tue Jun  5 13:57:16 [conn1] [pcursor] finishing on shard config:erh2.10gen.cc:29000, current connection state is { state: { conn: "erh2.10gen.cc:29000", vinfo: "config:erh2.10gen.cc:29000", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: true, finish: false, errored: false }
	"cause" : {
		"errmsg" : "migration already in progress",
		"ok" : 0
	},
	"ok" : 0,
	"errmsg" : "move failed"
Tue Jun  5 13:57:16 uncaught exception: command { "moveChunk" : "test.foo", "find" : { "x" : 10 }, "to" : "rs2-rs1" } failed: {
}
failed to load: /Users/erh/work/buildbot/OS_X_105_64bit_Nightly/mongo/jstests/slowNightly/sharding_rs2.js

http://buildlogs.mongodb.org/build/4fce2793d2a60f4162000b72/test/4fce4824d2a60f4c2e000777/



 Comments   
Comment by auto [ 28/Jun/12 ]

Author:

{u'date': u'2012-06-28T04:43:55-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-6006 import code and fixes from 2.1.x into test

The addition of a call to s.stopBalancer() failed because that
function didn't exist in 2.0. Bring in all the code that is
needed to make it work in 2.0. Also pick up assert changes from
2.1 that make the test more reliable.
Branch: v2.0
https://github.com/mongodb/mongo/commit/80f143dc95fe93f8f9797de5b45d2d1ea1c07dc4

Comment by Tad Marshall [ 27/Jun/12 ]

Backported to 2.0.7.

Comment by auto [ 27/Jun/12 ]

Author:

{u'date': u'2012-06-27T13:37:54-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-6006 buildbot sharding_rs2.js turn off balancer in test before split/migrate

Signed-off-by: Tad Marshall <tad@10gen.com>
Branch: v2.0
https://github.com/mongodb/mongo/commit/73370d7bc41b093f26adee1c89a92963cdb63d6c

Comment by auto [ 06/Jun/12 ]

Author:

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

Message: SERVER-6006 buildbot sharding_rs2.js turn off balancer in test before split/migrate
Branch: master
https://github.com/mongodb/mongo/commit/06fab23c488e70f1b2705e09ad3ed56601dfe81e

Comment by Greg Studer [ 05/Jun/12 ]

90% sure a balancer-should-be-off thing, but will check it out.

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