diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:24 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:46 -0400 |
commit | eeee1e2b64f70e8487f017ba579f3ca861c81e4f (patch) | |
tree | e1452828e142748f1f03be61a00c32dbb3ed6bc1 /src/mongo/db/time_proof_service.h | |
parent | 55637833c707998f685f997d43624c52cde99b45 (diff) | |
download | mongo-eeee1e2b64f70e8487f017ba579f3ca861c81e4f.tar.gz |
SERVER-30977 add clusterTime to standalone replica set
Diffstat (limited to 'src/mongo/db/time_proof_service.h')
-rw-r--r-- | src/mongo/db/time_proof_service.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/time_proof_service.h b/src/mongo/db/time_proof_service.h index 0a981632d09..185a2394302 100644 --- a/src/mongo/db/time_proof_service.h +++ b/src/mongo/db/time_proof_service.h @@ -63,6 +63,11 @@ public: */ Status checkProof(LogicalTime time, const TimeProof& proof, const Key& key); + /** + * Resets the cache. + */ + void resetCache(); + private: /** * Nested class to cache TimeProof. It holds proof for the greatest time allowed. |