summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding_destined_recipient_test.cpp
diff options
context:
space:
mode:
authorSergi Mateo Bellido <sergi.mateo-bellido@mongodb.com>2020-11-23 08:57:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-24 16:34:15 +0000
commitbb840568d976f687fb8e0baa24e37a7827b06de4 (patch)
tree9f67072809d015dd8d84d58cd0290c5f3f7c5278 /src/mongo/db/s/resharding_destined_recipient_test.cpp
parentd291ec46eebdb789a700053f949fb0f3f92cc7d0 (diff)
downloadmongo-bb840568d976f687fb8e0baa24e37a7827b06de4.tar.gz
SERVER-52933 Add timestamp to the DatabaseVersion IDL
PART 1 - Adding a new DatabaseVersion class that handles the underlying IDL implementation of a DatabaseVersion
Diffstat (limited to 'src/mongo/db/s/resharding_destined_recipient_test.cpp')
-rw-r--r--src/mongo/db/s/resharding_destined_recipient_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding_destined_recipient_test.cpp b/src/mongo/db/s/resharding_destined_recipient_test.cpp
index 4b627d3fb4b..ab9a81c876f 100644
--- a/src/mongo/db/s/resharding_destined_recipient_test.cpp
+++ b/src/mongo/db/s/resharding_destined_recipient_test.cpp
@@ -48,7 +48,7 @@
#include "mongo/s/catalog/sharding_catalog_client_mock.h"
#include "mongo/s/catalog/type_shard.h"
#include "mongo/s/catalog_cache_loader_mock.h"
-#include "mongo/s/database_version_helpers.h"
+#include "mongo/s/database_version.h"
#include "mongo/s/shard_id.h"
#include "mongo/unittest/unittest.h"
@@ -183,7 +183,7 @@ protected:
ReshardingEnv env(CollectionCatalog::get(opCtx)->lookupUUIDByNSS(opCtx, kNss).value());
env.destShard = kShardList[1].getName();
env.version = ChunkVersion(1, 0, OID::gen());
- env.dbVersion = databaseVersion::makeNew();
+ env.dbVersion = DatabaseVersion(UUID::gen());
env.tempNss =
NamespaceString(kNss.db(),