[SERVER-58716] Allow finds with hints using index spec on time-series collections Created: 20/Jul/21 Updated: 06/Apr/22 Resolved: 07/Jan/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kris Satya (Inactive) | Assignee: | Dan Larkin-York |
| Resolution: | Done | Votes: | 0 |
| Labels: | time-series | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Execution Team 2021-12-27, Execution Team 2022-01-10 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently, retrieving documents from a time-series collection using the find command and an index spec as a hint returns a BadValue exception as the index spec in the hint isn't translated to its corresponding buckets collection index spec. We currently only support indexes on the timeField and metaField for time-series collections, so we should allow queries with index spec as hints to work by translating the index spec in the hint to its buckets collection index spec. This helper function will be useful as it performs the index spec translation. |
| Comments |
| Comment by Githook User [ 07/Jan/22 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: |