Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6006

moveChunk fails with migration already in progress

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.7, 2.1.2
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL

      	
       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/

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: