diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-03-28 10:32:30 -0400 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-03-30 14:15:39 -0400 |
commit | 325486685538d00adbd61f868c239b3ecc6938c6 (patch) | |
tree | a6f0e7679ebba871e5644ee3c2703ef05f974b9d /src/mongo/s/server.cpp | |
parent | ba1fa56004826b42bd8fa7d5b5a0c78fc1b57af9 (diff) | |
download | mongo-325486685538d00adbd61f868c239b3ecc6938c6.tar.gz |
SERVER-28432 Move key management out from TimeProofService
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r-- | src/mongo/s/server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index 8e6ea2edefd..21665ef726b 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -288,9 +288,7 @@ static ExitCode runMongosServer() { auto opCtx = cc().makeOperationContext(); - std::array<std::uint8_t, 20> tempKey = {}; - TimeProofService::Key key(std::move(tempKey)); - auto timeProofService = stdx::make_unique<TimeProofService>(std::move(key)); + auto timeProofService = stdx::make_unique<TimeProofService>(); auto logicalClock = stdx::make_unique<LogicalClock>(opCtx->getServiceContext(), std::move(timeProofService)); LogicalClock::set(opCtx->getServiceContext(), std::move(logicalClock)); |