diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2017-08-30 00:11:28 +0100 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2017-09-01 03:56:23 +0100 |
commit | d34c7cf640a6e12b4f1abe86ef3c96d1216f0654 (patch) | |
tree | beb83b01ddf04cc33d42e71f65e64314ce7d0e3f /src/mongo/db/pipeline/pipeline.h | |
parent | f1530d925c530004d107c56a8dd012d26304038c (diff) | |
download | mongo-d34c7cf640a6e12b4f1abe86ef3c96d1216f0654.tar.gz |
SERVER-30412 Ensure that aggregation splitpoints are not shared between shard and merge pipelines on mongoS
Diffstat (limited to 'src/mongo/db/pipeline/pipeline.h')
-rw-r--r-- | src/mongo/db/pipeline/pipeline.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/pipeline.h b/src/mongo/db/pipeline/pipeline.h index 6f46bf75476..35b18954fdd 100644 --- a/src/mongo/db/pipeline/pipeline.h +++ b/src/mongo/db/pipeline/pipeline.h @@ -196,7 +196,7 @@ public: * Returns true if this pipeline is the part of a split pipeline which should be targeted to the * shards. */ - bool isSplitForSharded() { + bool isSplitForSharded() const { return _splitForSharded; } @@ -204,7 +204,7 @@ public: * Returns true if this pipeline is the part of a split pipeline which is responsible for * merging the results from the shards. */ - bool isSplitForMerge() { + bool isSplitForMerge() const { return _splitForMerge; } @@ -259,7 +259,7 @@ public: */ DepsTracker getDependencies(DepsTracker::MetadataAvailable metadataAvailable) const; - const SourceContainer& getSources() { + const SourceContainer& getSources() const { return _sources; } |