diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp b/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp index bb47fe20b83..e5bd8defdbd 100644 --- a/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp +++ b/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp @@ -111,8 +111,10 @@ protected: const OID& epoch, const ShardId& shardThatChunkExistsOn) { auto range = ChunkRange(BSON(shardKey << MINKEY), BSON(shardKey << MAXKEY)); - auto chunk = ChunkType( - uuid, std::move(range), ChunkVersion(1, 0, epoch, timestamp), shardThatChunkExistsOn); + auto chunk = ChunkType(uuid, + std::move(range), + ChunkVersion({epoch, timestamp}, {1, 0}), + shardThatChunkExistsOn); ChunkManager cm(kThisShard.getShardId(), DatabaseVersion(uuid, timestamp), makeStandaloneRoutingTableHistory( |