summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface_shardsvr.cpp
diff options
context:
space:
mode:
authorIan Boros <puppyofkosh@gmail.com>2019-05-21 17:53:00 -0400
committerIan Boros <puppyofkosh@gmail.com>2019-05-28 11:44:42 -0400
commit3927d0fdcc4b93ea5d7f007eefcb9e505d012cab (patch)
tree076bae37ba1db4ee623e511f9a09a1814231e53a /src/mongo/db/pipeline/process_interface_shardsvr.cpp
parent3219b9784947b4f1bb7f07d56a42610e74eba1cd (diff)
downloadmongo-3927d0fdcc4b93ea5d7f007eefcb9e505d012cab.tar.gz
SERVER-40015 make $sb work sharded
Diffstat (limited to 'src/mongo/db/pipeline/process_interface_shardsvr.cpp')
-rw-r--r--src/mongo/db/pipeline/process_interface_shardsvr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface_shardsvr.cpp b/src/mongo/db/pipeline/process_interface_shardsvr.cpp
index a66fe05d25b..ea6b39f8472 100644
--- a/src/mongo/db/pipeline/process_interface_shardsvr.cpp
+++ b/src/mongo/db/pipeline/process_interface_shardsvr.cpp
@@ -197,7 +197,7 @@ unique_ptr<Pipeline, PipelineDeleter> MongoInterfaceShardServer::attachCursorSou
// this function, to be sure the collection didn't become sharded between the time we checked
// whether it's sharded and the time we took the lock.
- return MongoInterfaceStandalone::attachCursorSourceToPipeline(expCtx, pipeline.release());
+ return attachCursorSourceToPipelineForLocalRead(expCtx, pipeline.release());
}
} // namespace mongo