diff options
Diffstat (limited to 'src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp')
-rw-r--r-- | src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp b/src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp index b42ed6bb69e..138da223f76 100644 --- a/src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp +++ b/src/mongo/s/catalog/sharding_catalog_manager_shard_operations_impl.cpp @@ -89,7 +89,7 @@ StatusWith<std::string> generateNewShardName(OperationContext* txn) { BSONObjBuilder shardNameRegex; shardNameRegex.appendRegex(ShardType::name(), "^shard"); - auto findStatus = Grid::get(txn)->shardRegistry()->getConfigShard()->exhaustiveFindOnConfig( + auto findStatus = Grid::get(txn)->shardRegistry()->getConfigShard()->exhaustiveFind( txn, kConfigReadSelector, repl::ReadConcernLevel::kMajorityReadConcern, |