[SERVER-20906] Optimize $sample for MMAPv1 storage engine Created: 13/Oct/15  Updated: 28/Sep/16  Resolved: 23/Oct/15

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Storage
Affects Version/s: None
Fix Version/s: 3.2.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-8957 Optimize $sample for MMAPv1 storage e... Closed
Backwards Compatibility: Fully Compatible
Sprint: QuInt B (11/02/15)
Participants:

 Description   

We should implement a random walk over the _id index, and use that to return random documents if it exists.



 Comments   
Comment by Githook User [ 23/Oct/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-20906 fix compile
Branch: master
https://github.com/mongodb/mongo/commit/3d74ad6da4dfeb293cd77ae71583740f008e7007

Comment by Githook User [ 23/Oct/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'cswanson310@gmail.com'}

Message: SERVER-20906 Add a random cursor implementation for mmap_v1 storage engine
Branch: master
https://github.com/mongodb/mongo/commit/9284edb11f0626c77017117ef02790881586aa26

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