summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_graph_lookup.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2017-09-26 23:23:48 -0400
committerBernard Gorman <bernard.gorman@gmail.com>2017-10-04 10:14:35 +0100
commit939f2bcda18db41b774bbe3cf16e1d4928c58e5d (patch)
tree7b99539bf440a9d76030a07c79b3347792fb5f7d /src/mongo/db/pipeline/document_source_graph_lookup.h
parent284d80ba6ee928cdf3d8f23c161a7ee1bf4a8faf (diff)
downloadmongo-939f2bcda18db41b774bbe3cf16e1d4928c58e5d.tar.gz
SERVER-29141 Extend StageConstraints to allow kLocalOnly and kMongos host requirements, given pipeline split state
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.h')
-rw-r--r--src/mongo/db/pipeline/document_source_graph_lookup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.h b/src/mongo/db/pipeline/document_source_graph_lookup.h
index 9a3bf92fe22..d91c1675a81 100644
--- a/src/mongo/db/pipeline/document_source_graph_lookup.h
+++ b/src/mongo/db/pipeline/document_source_graph_lookup.h
@@ -53,7 +53,7 @@ public:
*/
GetModPathsReturn getModifiedPaths() const final;
- StageConstraints constraints() const final {
+ StageConstraints constraints(Pipeline::SplitState pipeState) const final {
StageConstraints constraints(StreamType::kStreaming,
PositionRequirement::kNone,
HostTypeRequirement::kPrimaryShard,