summaryrefslogtreecommitdiff
path: root/src/mongo/s/config.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-09-04 16:55:58 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-09-09 18:23:06 -0400
commit5a54d7b9efcd63316c167f4f8c2b68348150b6b6 (patch)
tree4fc15076a9b9c5a359064dcaabac9a3d2ec01aac /src/mongo/s/config.h
parent4a6ff97bd91c340eea7142d13153a495ab3964a3 (diff)
downloadmongo-5a54d7b9efcd63316c167f4f8c2b68348150b6b6.tar.gz
SERVER-20294 Update ShardRegistry on-demand on changes to shard replica set membership
Diffstat (limited to 'src/mongo/s/config.h')
-rw-r--r--src/mongo/s/config.h12
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