summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard_registry.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2016-07-05 16:15:26 -0400
committerSpencer T Brody <spencer@mongodb.com>2016-07-08 14:53:24 -0400
commit33c199e50fc96251c1477ca8e9f92168feddbc88 (patch)
treede016e33fba1fa05ddd46de27facc01cd791abd1 /src/mongo/s/client/shard_registry.h
parent0a5384c91a9765558722cc163de90d3bfc05f509 (diff)
downloadmongo-33c199e50fc96251c1477ca8e9f92168feddbc88.tar.gz
SERVER-24817 Hook up clusterID into places that need it
Diffstat (limited to 'src/mongo/s/client/shard_registry.h')
-rw-r--r--src/mongo/s/client/shard_registry.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/s/client/shard_registry.h b/src/mongo/s/client/shard_registry.h
index e384a53feea..17dd8367edd 100644
--- a/src/mongo/s/client/shard_registry.h
+++ b/src/mongo/s/client/shard_registry.h
@@ -158,11 +158,6 @@ public:
ConnectionString getConfigServerConnectionString() const;
/**
- * Returns the cluster id from the config shard.
- */
- const OID& getClusterId() const;
-
- /**
* Reloads the ShardRegistry based on the contents of the config server's config.shards
* collection. Returns true if this call performed a reload and false if this call only waited
* for another thread to perform the reload and did not actually reload. Because of this, it is
@@ -246,12 +241,6 @@ private:
*/
ConnectionString _initConfigServerCS;
- /**
- * The id for the cluster, obtained from the config servers on sharding initialization. The
- * config servers are the authority on the clusterId.
- */
- const OID _clusterId;
-
ShardRegistryData _data;
// Protects the _reloadState and _initConfigServerCS during startup.