summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_document.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-04-11 15:19:59 -0400
committerRandolph Tan <randolph@10gen.com>2017-04-17 15:24:53 -0400
commit637a1b6b6c0dc8f6f07e6e6aa50585b500c1350f (patch)
tree64e529ab5aee1e1682285d61d9c5628f6e0c7a4d /src/mongo/db/keys_collection_document.h
parentd4c1d45863a14d504404e0b606eb4ef01aacc2a1 (diff)
downloadmongo-637a1b6b6c0dc8f6f07e6e6aa50585b500c1350f.tar.gz
SERVER-28435 Implement getNewKey for catalog client
Diffstat (limited to 'src/mongo/db/keys_collection_document.h')
-rw-r--r--src/mongo/db/keys_collection_document.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/keys_collection_document.h b/src/mongo/db/keys_collection_document.h
index b1eef99343b..5571982fdac 100644
--- a/src/mongo/db/keys_collection_document.h
+++ b/src/mongo/db/keys_collection_document.h
@@ -47,6 +47,8 @@ namespace mongo {
*/
class KeysCollectionDocument {
public:
+ static const std::string ConfigNS;
+
KeysCollectionDocument(long long keyId,
std::string purpose,
TimeProofService::Key key,
@@ -75,7 +77,7 @@ public:
const LogicalTime& getExpiresAt() const;
private:
- long long _keyId;
+ long long _keyId = 0;
std::string _purpose;
TimeProofService::Key _key;
LogicalTime _expiresAt;