mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
SERVER-35537 Remove usage of check function from mr_shard_version.js.
This commit is contained in:
parent
a7f2cf99a1
commit
acd9fd112d
@ -31,13 +31,6 @@
|
||||
|
||||
jsTest.log("Starting migrations...");
|
||||
|
||||
var migrateOp = {op: "command", ns: "admin", command: {moveChunk: "" + coll}};
|
||||
|
||||
var checkMigrate = function() {
|
||||
print("Result of migrate : ");
|
||||
printjson(this);
|
||||
};
|
||||
|
||||
var ops = {};
|
||||
for (var i = 0; i < st._connections.length; i++) {
|
||||
for (var j = 0; j < 2; j++) {
|
||||
@ -49,7 +42,6 @@
|
||||
find: {_id: (j == 0 ? 0 : halfId)},
|
||||
to: st._connections[i].shardName
|
||||
},
|
||||
check: checkMigrate
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user