[SERVER-53401] Implement basic PartitionIterator for random access to documents in a partition Created: 16/Dec/20  Updated: 29/Oct/23  Resolved: 04/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: wf-m1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-25, Query 2021-02-08
Participants:

 Description   

This ticket should handle the following tasks:

  • Retrieving the next document from the prior stage if requested
  • Caching documents in a partition to be re-used by multiple consumers
  • Supporting an advance() type method to move the current doc pointer
  • Detecting a partition key change and setting the new document aside until advanced to it

To start, documents will only be freed once advance moves past the end of a partition.



 Comments   
Comment by Githook User [ 04/Feb/21 ]

Author:

{'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}

Message: SERVER-53401 Create PartitionIterator for window functions
Branch: master
https://github.com/mongodb/mongo/commit/fde2e1980bf43452e174518028ba50db4d66db0f

Generated at Thu Feb 08 05:30:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.