summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.cpp
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2020-09-16 00:11:16 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-15 23:32:25 +0000
commit945ca4f1112f8846e793b40ff47610927b6fc298 (patch)
tree809ba4107d38f25570b0688aa99c3b1c171df6f3 /src/mongo/s/grid.cpp
parentf9f7f4832d8e94c233e7281790cbeb9b70129382 (diff)
downloadmongo-945ca4f1112f8846e793b40ff47610927b6fc298.tar.gz
Revert "SERVER-46202 Implement ShardRegistry on top of ReadThroughCache"
This reverts commit a8913858697363a26b06996f0821045b550bea27.
Diffstat (limited to 'src/mongo/s/grid.cpp')
-rw-r--r--src/mongo/s/grid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/grid.cpp b/src/mongo/s/grid.cpp
index ea28033590e..c2e3cd011ac 100644
--- a/src/mongo/s/grid.cpp
+++ b/src/mongo/s/grid.cpp
@@ -90,7 +90,7 @@ void Grid::init(std::unique_ptr<ShardingCatalogClient> catalogClient,
_executorPool = std::move(executorPool);
_network = network;
- _shardRegistry->init(grid.owner(this));
+ _shardRegistry->init();
}
bool Grid::isShardingInitialized() const {