<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/db/exec/sort.cpp, branch master</title>
<subtitle>github.com: mongodb/mongo.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/'/>
<entry>
<title>SERVER-51026 Collect number of keys sorted and disk spills for query operations</title>
<updated>2020-11-19T17:40:51+00:00</updated>
<author>
<name>Louis Williams</name>
<email>louis.williams@mongodb.com</email>
</author>
<published>2020-11-19T15:17:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=85bcda3cf2e0fe996f022fb065326aca524cb07a'/>
<id>85bcda3cf2e0fe996f022fb065326aca524cb07a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-43821 Make PlanStage and PlanExecutor return errors by throwing</title>
<updated>2020-05-29T18:44:40+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2020-05-18T22:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d295b6646fcc815e73ad3085b212ad14c8c6de01'/>
<id>d295b6646fcc815e73ad3085b212ad14c8c6de01</id>
<content type='text'>
This eliminates the need for the FAILURE status codes in
PlanStage and PlanExecutor, and brings query execution's
error reporting more in line with that of the rest of the
server. It also makes it easier for future implementations
of PlanExecutor to comply with the interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This eliminates the need for the FAILURE status codes in
PlanStage and PlanExecutor, and brings query execution's
error reporting more in line with that of the rest of the
server. It also makes it easier for future implementations
of PlanExecutor to comply with the interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-45406 Plumb ExpressionContext through PlanStage</title>
<updated>2020-02-28T22:16:41+00:00</updated>
<author>
<name>Ian Boros</name>
<email>ian.boros@mongodb.com</email>
</author>
<published>2020-01-30T18:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=cfa5c05fa1855fb1a04cb3a6e2eb10a7e82bf726'/>
<id>cfa5c05fa1855fb1a04cb3a6e2eb10a7e82bf726</id>
<content type='text'>
This patch includes also moves ownership of the collator to the ExpressionContext.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch includes also moves ownership of the collator to the ExpressionContext.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-45918 Add SortStageSimple.</title>
<updated>2020-02-13T03:34:31+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2020-02-05T23:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c3bc79c95c3b355c040395696f30e25574a3079f'/>
<id>c3bc79c95c3b355c040395696f30e25574a3079f</id>
<content type='text'>
This new sort implementation can be used in lieu of the
pre-existing general implementation when certain special
conditions are met:
 - The incoming data is fetched.
 - The incoming data has no metadata attached.
 - The record id can be discarded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new sort implementation can be used in lieu of the
pre-existing general implementation when certain special
conditions are met:
 - The incoming data is fetched.
 - The incoming data has no metadata attached.
 - The record id can be discarded.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-45854 Hold WorkingSetMembers at a distance for sorting.</title>
<updated>2020-02-05T01:00:45+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2020-01-28T14:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=8dbf4dec2a10a447bacd84dc336cac741d1bdc5a'/>
<id>8dbf4dec2a10a447bacd84dc336cac741d1bdc5a</id>
<content type='text'>
This change improves the performance of blocking sort
operations executed in the PlanStage layer using the
SortStage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change improves the performance of blocking sort
operations executed in the PlanStage layer using the
SortStage.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-44324 Template the SortExecutor.</title>
<updated>2019-11-04T17:53:43+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2019-11-04T17:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b1ecef421c634b17d88eedc68864cdc886507dbe'/>
<id>b1ecef421c634b17d88eedc68864cdc886507dbe</id>
<content type='text'>
This improves the performance of blocking sort operations
executed in the agg layer of the execution tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves the performance of blocking sort operations
executed in the agg layer of the execution tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-7568 Push $sort into PlanStage layer even for blocking SORT plans.</title>
<updated>2019-10-22T21:32:40+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2019-10-22T21:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=8d048a3bb2f0f2f81cf99ce76ff21112bf3963d6'/>
<id>8d048a3bb2f0f2f81cf99ce76ff21112bf3963d6</id>
<content type='text'>
This change results in the multi-planning mechanism
evaluating both non-blocking and blocking plans for the
$sort when possible. The system should no longer select a
non-blocking plan when a plan with a SORT stage is superior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change results in the multi-planning mechanism
evaluating both non-blocking and blocking plans for the
$sort when possible. The system should no longer select a
non-blocking plan when a plan with a SORT stage is superior.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-42182 Reimplement SortStage in terms of SortExecutor.</title>
<updated>2019-10-01T19:36:43+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2019-10-01T19:36:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=6d0a0e46b987dbc69a5694ff03d53d7e7e25b065'/>
<id>6d0a0e46b987dbc69a5694ff03d53d7e7e25b065</id>
<content type='text'>
This consolidates the implementations of DocumentSourceSort
and SortStage to both use the same underlying sort execution
code. It also allows a future change to expose external sort
for find command (which currently requires
'enableTestCommands=true').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This consolidates the implementations of DocumentSourceSort
and SortStage to both use the same underlying sort execution
code. It also allows a future change to expose external sort
for find command (which currently requires
'enableTestCommands=true').
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-42649 Use Value instead of BSONObj in the in-memory sort key</title>
<updated>2019-09-26T01:27:30+00:00</updated>
<author>
<name>Justin Seyster</name>
<email>justin.seyster@mongodb.com</email>
</author>
<published>2019-09-26T01:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c5540ac7d3ceb7c6ce8ff5a3354d80f3eb09dbf1'/>
<id>c5540ac7d3ceb7c6ce8ff5a3354d80f3eb09dbf1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-42583 Thread 'tempDir' through to SortStage.</title>
<updated>2019-09-13T20:24:05+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2019-09-13T20:24:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=092c4a7944279a15dbb2fbcf7c03bcd5105092db'/>
<id>092c4a7944279a15dbb2fbcf7c03bcd5105092db</id>
<content type='text'>
This makes it possible to instantiate a SortExecutor inside
SortStage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to instantiate a SortExecutor inside
SortStage.
</pre>
</div>
</content>
</entry>
</feed>
