diff options
author | Maria van Keulen <maria.vankeulen@mongodb.com> | 2020-01-07 15:15:10 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-07 15:15:10 +0000 |
commit | cb293d4de806e8089e4fb08926124ed18b2fa578 (patch) | |
tree | f073318c41619271ff050855b5b80fc1d6f957bb /src/mongo/db/logical_clock.h | |
parent | 47a810f853921657acb78db1110590c0c380091f (diff) | |
download | mongo-cb293d4de806e8089e4fb08926124ed18b2fa578.tar.gz |
SERVER-44139 Allow collection creation in multi-document transactions
This commit allows the feature for single-node replica sets only.
Diffstat (limited to 'src/mongo/db/logical_clock.h')
-rw-r--r-- | src/mongo/db/logical_clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/logical_clock.h b/src/mongo/db/logical_clock.h index 28191be87f6..ec4bddc518a 100644 --- a/src/mongo/db/logical_clock.h +++ b/src/mongo/db/logical_clock.h @@ -53,6 +53,7 @@ public: * Returns the current cluster time if this is a replica set node, otherwise returns a null * logical time. */ + static LogicalTime getClusterTimeForReplicaSet(ServiceContext* svcCtx); static LogicalTime getClusterTimeForReplicaSet(OperationContext* opCtx); /** |