diff options
author | Ian Boros <puppyofkosh@gmail.com> | 2019-05-21 17:53:00 -0400 |
---|---|---|
committer | Ian Boros <puppyofkosh@gmail.com> | 2019-05-28 11:44:42 -0400 |
commit | 3927d0fdcc4b93ea5d7f007eefcb9e505d012cab (patch) | |
tree | 076bae37ba1db4ee623e511f9a09a1814231e53a /src/mongo/db/pipeline/process_interface_shardsvr.cpp | |
parent | 3219b9784947b4f1bb7f07d56a42610e74eba1cd (diff) | |
download | mongo-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.cpp | 2 |
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 |