summaryrefslogtreecommitdiff
path: root/src/mongo/db/logical_time_validator.h
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2018-05-17 10:08:04 -0400
committerMisha Tyulenev <misha@mongodb.com>2018-05-17 10:08:22 -0400
commit24a6081a3f7a0c4eaa9d765ef453bcda64f4288e (patch)
treec5362950096d9687cd31dcfed53a53ac1565942f /src/mongo/db/logical_time_validator.h
parentbeaaea83700548d6bf4f79ce9c9a6bdf5f7eb6af (diff)
downloadmongo-24a6081a3f7a0c4eaa9d765ef453bcda64f4288e.tar.gz
SERVER-35006 do not reset KeysCollectionManager
Diffstat (limited to 'src/mongo/db/logical_time_validator.h')
-rw-r--r--src/mongo/db/logical_time_validator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/logical_time_validator.h b/src/mongo/db/logical_time_validator.h
index 17ea7379d33..8c10fbd9219 100644
--- a/src/mongo/db/logical_time_validator.h
+++ b/src/mongo/db/logical_time_validator.h
@@ -102,10 +102,10 @@ public:
bool shouldGossipLogicalTime();
/**
- * Reset the key manager to prevent the former members of standalone replica set to use old
- * keys with sharded cluster.
+ * Stops the key manager and resets its state to prevent the former members of standalone
+ * replica set to use old keys with sharded cluster.
*/
- void resetKeyManager();
+ void stopKeyManager();
/**
* Reset the key manager cache of keys.