0
0
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:
Max Hirschhorn 2018-07-10 14:30:27 -04:00
parent a7f2cf99a1
commit acd9fd112d

View File

@ -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
};
}
}