summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/type_shard_collection.h
diff options
context:
space:
mode:
authorJordi Serra Torrens <jordi.serra-torrens@mongodb.com>2020-11-17 15:06:24 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-25 14:38:04 +0000
commit82adc7b5986076fba2de43fe9ce32d7c425123be (patch)
tree37cb06ff527b20f997ed49b454f13bbb198ef623 /src/mongo/db/s/type_shard_collection.h
parent403c9577ea2a447c2660715af6540e66da8fc4c8 (diff)
downloadmongo-82adc7b5986076fba2de43fe9ce32d7c425123be.tar.gz
SERVER-52766: Support timestamp in the catalog cache loader
Diffstat (limited to 'src/mongo/db/s/type_shard_collection.h')
-rw-r--r--src/mongo/db/s/type_shard_collection.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/s/type_shard_collection.h b/src/mongo/db/s/type_shard_collection.h
index de71f2aab37..bbdbb0ae4a7 100644
--- a/src/mongo/db/s/type_shard_collection.h
+++ b/src/mongo/db/s/type_shard_collection.h
@@ -57,6 +57,7 @@ public:
using ShardCollectionTypeBase::getNss;
using ShardCollectionTypeBase::getRefreshing;
using ShardCollectionTypeBase::getReshardingFields;
+ using ShardCollectionTypeBase::getTimestamp;
using ShardCollectionTypeBase::getUnique;
using ShardCollectionTypeBase::getUuid;
using ShardCollectionTypeBase::setDefaultCollation;
@@ -73,6 +74,13 @@ public:
ShardCollectionType(
NamespaceString nss, OID epoch, UUID uuid, KeyPattern keyPattern, bool unique);
+ ShardCollectionType(NamespaceString nss,
+ OID epoch,
+ boost::optional<Timestamp> creationTime,
+ UUID uuid,
+ KeyPattern keyPattern,
+ bool unique);
+
explicit ShardCollectionType(const BSONObj& obj);
ShardCollectionType() = default;