diff options
author | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-03-23 15:05:15 -0400 |
---|---|---|
committer | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-03-29 13:28:11 -0400 |
commit | 6306b96749d4a547a1fa023eb1a0085b37e75c07 (patch) | |
tree | dc1319cd6b4782d70b9d084a524ada7b31998a96 /src/mongo/s/client/shard_connection.cpp | |
parent | 50e1e0be8d2eeccf866a3b249f63bdfdf91e3698 (diff) | |
download | mongo-6306b96749d4a547a1fa023eb1a0085b37e75c07.tar.gz |
SERVER-33797: Reload ShardRegistry on shard collection command
Diffstat (limited to 'src/mongo/s/client/shard_connection.cpp')
-rw-r--r-- | src/mongo/s/client/shard_connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/client/shard_connection.cpp b/src/mongo/s/client/shard_connection.cpp index 2aa50893ecf..9d117a706af 100644 --- a/src/mongo/s/client/shard_connection.cpp +++ b/src/mongo/s/client/shard_connection.cpp @@ -217,7 +217,7 @@ public: auto const shardRegistry = Grid::get(opCtx)->shardRegistry(); std::vector<ShardId> all; - shardRegistry->getAllShardIds(&all); + shardRegistry->getAllShardIdsNoReload(&all); // Don't report exceptions here as errors in GetLastError LastError::Disabled ignoreForGLE(&LastError::get(cc())); |