summaryrefslogtreecommitdiff
path: root/src/mongo/db/logical_time_validator.h
diff options
context:
space:
mode:
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.