diff options
author | Martin Neupauer <xmaton@messengeruser.com> | 2020-07-16 16:45:19 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-23 19:26:02 +0000 |
commit | 2c2d005f03ea2f8b44dab3a224711937ba763cef (patch) | |
tree | 5843d07841192f263449da4c03650f5730bd0820 /src/mongo/db/query | |
parent | c0786e976955da27d9a63a09a7ce502b1f00a68b (diff) | |
download | mongo-2c2d005f03ea2f8b44dab3a224711937ba763cef.tar.gz |
SERVER-49397 Spilling to disk for sort in SBE.
Diffstat (limited to 'src/mongo/db/query')
-rw-r--r-- | src/mongo/db/query/sbe_stage_builder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/query/sbe_stage_builder.cpp b/src/mongo/db/query/sbe_stage_builder.cpp index c4eaaae3896..ce5508d5cb5 100644 --- a/src/mongo/db/query/sbe_stage_builder.cpp +++ b/src/mongo/db/query/sbe_stage_builder.cpp @@ -258,6 +258,8 @@ std::unique_ptr<sbe::PlanStage> SlotBasedStageBuilder::buildSort(const QuerySolu std::move(values), sn->limit ? sn->limit : std::numeric_limits<std::size_t>::max(), + internalQueryMaxBlockingSortMemoryUsageBytes.load(), + _cq.getExpCtx()->allowDiskUse, _data.trialRunProgressTracker.get()); } |