summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/active_migrations_registry_test.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2017-01-11 19:17:02 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2017-01-17 14:36:53 -0500
commitfdec6ed545c0045646c7cca33eb4094385bc9429 (patch)
tree3e39040e2e5cea9c11fff94c6fe5da085558fd26 /src/mongo/db/s/active_migrations_registry_test.cpp
parent686069d0fbde93c1bf8b2fe15fad001e98dcc25d (diff)
downloadmongo-fdec6ed545c0045646c7cca33eb4094385bc9429.tar.gz
SERVER-25673 Remove redundant ChunkManager access in MigrationManager
Diffstat (limited to 'src/mongo/db/s/active_migrations_registry_test.cpp')
-rw-r--r--src/mongo/db/s/active_migrations_registry_test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/s/active_migrations_registry_test.cpp b/src/mongo/db/s/active_migrations_registry_test.cpp
index c5eb63f71a3..7907434e0d0 100644
--- a/src/mongo/db/s/active_migrations_registry_test.cpp
+++ b/src/mongo/db/s/active_migrations_registry_test.cpp
@@ -65,19 +65,17 @@ protected:
};
MoveChunkRequest createMoveChunkRequest(const NamespaceString& nss) {
- const ChunkVersion collectionVersion(2, 3, OID::gen());
const ChunkVersion chunkVersion(1, 2, OID::gen());
BSONObjBuilder builder;
MoveChunkRequest::appendAsCommand(
&builder,
nss,
- collectionVersion,
+ chunkVersion,
assertGet(ConnectionString::parse("TestConfigRS/CS1:12345,CS2:12345,CS3:12345")),
ShardId("shard0001"),
ShardId("shard0002"),
ChunkRange(BSON("Key" << -100), BSON("Key" << 100)),
- chunkVersion,
1024,
MigrationSecondaryThrottleOptions::create(MigrationSecondaryThrottleOptions::kOff),
true);