summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.h
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2021-07-02 17:44:59 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-05 15:17:40 +0000
commit8e26c5dbdef80198f701cf5bc4a9626641ad643f (patch)
treeb01e6ec74f3c2bf70ad501585058133706af0424 /src/mongo/s/grid.h
parent36df326d54d7d97c67d9be778c70b7fcb18ef9b3 (diff)
downloadmongo-8e26c5dbdef80198f701cf5bc4a9626641ad643f.tar.gz
SERVER-58265 Remvove deprecated Grid::_allowLocalHost variable
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r--src/mongo/s/grid.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h
index c2cd6ec1c45..ad5372d222f 100644
--- a/src/mongo/s/grid.h
+++ b/src/mongo/s/grid.h
@@ -101,20 +101,6 @@ public:
CustomConnectionPoolStatsFn getCustomConnectionPoolStatsFn() const;
void setCustomConnectionPoolStatsFn(CustomConnectionPoolStatsFn statsFn);
- /**
- * Deprecated. This is only used on mongos, and once addShard is solely handled by the configs,
- * it can be deleted.
- * @return true if shards and config servers are allowed to use 'localhost' in address
- */
- bool allowLocalHost() const;
-
- /**
- * Deprecated. This is only used on mongos, and once addShard is solely handled by the configs,
- * it can be deleted.
- * @param whether to allow shards and config servers to use 'localhost' in address
- */
- void setAllowLocalHost(bool allow);
-
ShardingCatalogClient* catalogClient() const {
return _catalogClient.get();
}
@@ -215,11 +201,6 @@ private:
* NOTE: This is not valid to call on a config server instance.
*/
boost::optional<repl::OpTime> _advanceConfigOpTime(const repl::OpTime& opTime);
-
- // Deprecated. This is only used on mongos, and once addShard is solely handled by the configs,
- // it can be deleted.
- // Can 'localhost' be used in shard addresses?
- bool _allowLocalShard{true};
};
} // namespace mongo