diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-01 14:06:58 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-06 13:41:32 -0400 |
commit | ed601dd01169b8c1fad9fb8d388da0523a1b48f5 (patch) | |
tree | 4d08bd1a36a12967fcb098432709da07236026b3 /src/mongo/db/pipeline/document_source_bucket_auto.cpp | |
parent | 456ba544978a0d41a2261bf65da686874fb631a2 (diff) | |
download | mongo-ed601dd01169b8c1fad9fb8d388da0523a1b48f5.tar.gz |
SERVER-30899 Aggregations sent from a 3.4 mongos should serialize 3.4 metadata
Diffstat (limited to 'src/mongo/db/pipeline/document_source_bucket_auto.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_bucket_auto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_bucket_auto.cpp b/src/mongo/db/pipeline/document_source_bucket_auto.cpp index e1385b19c68..e874fd5d426 100644 --- a/src/mongo/db/pipeline/document_source_bucket_auto.cpp +++ b/src/mongo/db/pipeline/document_source_bucket_auto.cpp @@ -91,7 +91,7 @@ DocumentSource::GetNextResult DocumentSourceBucketAuto::populateSorter() { if (!_sorter) { SortOptions opts; opts.maxMemoryUsageBytes = _maxMemoryUsageBytes; - if (pExpCtx->extSortAllowed && !pExpCtx->inRouter) { + if (pExpCtx->extSortAllowed && !pExpCtx->inMongos) { opts.extSortAllowed = true; opts.tempDir = pExpCtx->tempDir; } |