diff options
Diffstat (limited to 'src/mongo/s/config.h')
-rw-r--r-- | src/mongo/s/config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/s/config.h b/src/mongo/s/config.h index 1eee8820f1b..39b56f529c1 100644 --- a/src/mongo/s/config.h +++ b/src/mongo/s/config.h @@ -213,13 +213,13 @@ public: static void reloadSettings(OperationContext* txn); /** - * For use in mongos and mongod which needs notifications about changes to config server replset - * membership to update the ShardRegistry. + * For use in mongos and mongod which needs notifications about changes to shard and config + * server replset membership to update the ShardRegistry. * * This is expected to be run in an existing thread. */ - static void configReplicaSetChange(const std::string& setName, - const std::string& newConnectionString); + static void replicaSetChangeShardRegistryUpdateHook(const std::string& setName, + const std::string& newConnectionString); /** * For use in mongos which needs notifications about changes to shard replset membership to @@ -227,8 +227,8 @@ public: * * This is expected to be run in a brand new thread. */ - static void shardReplicaSetChange(const std::string& setName, - const std::string& newConnectionString); + static void replicaSetChangeConfigServerUpdateHook(const std::string& setName, + const std::string& newConnectionString); }; } // namespace mongo |