[SERVER-19355] Support skip, limit, and projection in new find/getMore commands path on mongos Created: 10/Jul/15  Updated: 24/Nov/15  Resolved: 02/Sep/15

Status: Closed
Project: Core Server
Component/s: Querying, Sharding
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-11877 mongos query results include sort fie... Closed
Related
related to SERVER-20987 Incorrect or missing merge sort in mo... Closed
is related to SERVER-10831 Sorting doesn't work if sort key excl... Closed
Backwards Compatibility: Fully Compatible
Sprint: Quint 9 09/18/15
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 02/Sep/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 omit $-prefixed fields from plan cache projection encoding
Branch: master
https://github.com/mongodb/mongo/commit/f1b2a6ca7ca821462210318ec9d8e16e5f737a26

Comment by Githook User [ 02/Sep/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 allow simultaneous returnKey and sortKey meta-projections

This is necessary in order to support queries with returnKey and sort routed through mongos.
Branch: master
https://github.com/mongodb/mongo/commit/94e6f99009f252a316106c7cc3d61101d0b57035

Comment by Githook User [ 02/Sep/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 Revert "Revert "SERVER-19355 mongos issues sortKey meta-projection in order to perform sorted merge""

This reverts commit f51b43f0fbabe121c18387d8bfbb187a2c6efdee.

Conflicts:
src/mongo/s/query/async_results_merger.cpp
src/mongo/s/query/async_results_merger_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/ced5a195fd465d45ec15d2eb0d8d565aeb9e6b82

Comment by Githook User [ 02/Sep/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 Revert "Revert "SERVER-19355 mongos issues sortKey meta-projection in order to perform sorted merge""

This reverts commit f51b43f0fbabe121c18387d8bfbb187a2c6efdee.

Conflicts:
src/mongo/s/query/async_results_merger.cpp
src/mongo/s/query/async_results_merger_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/ced5a195fd465d45ec15d2eb0d8d565aeb9e6b82

Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: Revert "SERVER-19355 mongos issues sortKey meta-projection in order to perform sorted merge"

This reverts commit eed4c7978289968e54ff4510c5bbfab808a21fb0.
Branch: master
https://github.com/mongodb/mongo/commit/f51b43f0fbabe121c18387d8bfbb187a2c6efdee

Comment by Githook User [ 27/Aug/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 mongos issues sortKey meta-projection in order to perform sorted merge
Branch: master
https://github.com/mongodb/mongo/commit/eed4c7978289968e54ff4510c5bbfab808a21fb0

Comment by Githook User [ 24/Aug/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 add {$meta: 'sortKey'} projection
Branch: master
https://github.com/mongodb/mongo/commit/3baee1a6e6d6f0941c5bfebbe01a16dc9890582e

Comment by Githook User [ 18/Aug/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 add SortKeyGeneratorStage

This is groundwork for a sort key meta-projection, which mongos will request so that it can do the
merge properly.
Branch: master
https://github.com/mongodb/mongo/commit/8494af88fa614eced7005af21234e1019539f0fc

Comment by Githook User [ 05/Aug/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 move SortKeyGenerator to its own file

Also renames SortStageKeyGenerator to SortKeyGenerator.
Branch: master
https://github.com/mongodb/mongo/commit/7c11259aa2d8849d5180480479c51c7f1fecd2b7

Comment by Githook User [ 31/Jul/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 add skip support to the new find/getMore path in mongos
Branch: master
https://github.com/mongodb/mongo/commit/0549805e713327519702856deeb66b16cb727b99

Comment by Githook User [ 28/Jul/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 add limit support to the new find/getMore path in mongos
Branch: master
https://github.com/mongodb/mongo/commit/0b3f5b96d95938daacce46d32036b31024bdbbe2

Comment by Githook User [ 21/Jul/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-19355 add limit support to the new find/getMore path in mongos
Branch: master
https://github.com/mongodb/mongo/commit/0b3f5b96d95938daacce46d32036b31024bdbbe2

Generated at Thu Feb 08 03:50:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.