[SERVER-56124] Provide an alias to $_internalUnpackBucket for Atlas Online Archive Created: 15/Apr/21 Updated: 29/Oct/23 Resolved: 17/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Query Execution |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Eric Cox (Inactive) | Assignee: | Ethan Zhang (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Query Execution 2021-05-17, Query Execution 2021-05-31 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Atlas OA may rely on running queries directly on the system.buckets.X collection to archive and delete buckets. Once buckets are fetched they want to use $_internalUnpackBucket to extract the measurements. More and more arguments will be added to $_internalUnpackBucket due to rewrite philosophies around being able to serialize an "AST" node for transport from mongos <-> mongod. We don't want to expose all the possible knobs of $_internalUnpackBucket as part of a stable API for OA's usecase. It was agreed during a meeting with QO that we would provide a sugared alias to $_internalUnpackBucket that only exposes a minimal set of parameters in the parser for them to be able to unpack buckets for their archive format. That set of params should be just the metaField and timeField since they do not require measurement field projection functionality. Other requirements for this alias include:
|
| Comments |
| Comment by Ethan Zhang (Inactive) [ 17/May/21 ] |
|
Side note: the name of the new alias stage is "$_unpackBucket" |
| Comment by Githook User [ 17/May/21 ] |
|
Author: {'name': 'Ethan Zhang', 'email': 'ethan.zhang@mongodb.com', 'username': 'yzhang1991'}Message: |
| Comment by David Storch [ 07/May/21 ] |
|
CC yuta.arai |