diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-16 18:49:27 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-17 09:41:17 -0400 |
commit | ebd7eef1dbc0e61266e26b9511f426b44d93e92a (patch) | |
tree | e22d731c9db9b9e0e65d43e52c38cb70a0d59593 /src/mongo/s/commands/cluster_map_reduce_cmd.cpp | |
parent | 07197eb1c413b3ed94ce5633036ee0d64853cf36 (diff) | |
download | mongo-ebd7eef1dbc0e61266e26b9511f426b44d93e92a.tar.gz |
SERVER-30703 make _configsvrShardCollection return the newly sharded collection's UUID
Diffstat (limited to 'src/mongo/s/commands/cluster_map_reduce_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_map_reduce_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_map_reduce_cmd.cpp b/src/mongo/s/commands/cluster_map_reduce_cmd.cpp index 78ce450a3d6..eb5b42e2d0c 100644 --- a/src/mongo/s/commands/cluster_map_reduce_cmd.cpp +++ b/src/mongo/s/commands/cluster_map_reduce_cmd.cpp @@ -641,7 +641,7 @@ private: // collection the next time it's accessed, even if we receive a failure, e.g. NetworkError. ON_BLOCK_EXIT([catalogCache, nss] { catalogCache->invalidateShardedCollection(nss); }); - ConfigsvrShardCollection configShardCollRequest; + ConfigsvrShardCollectionRequest configShardCollRequest; configShardCollRequest.set_configsvrShardCollection(nss); configShardCollRequest.setKey(BSON("_id" << 1)); configShardCollRequest.setUnique(true); |