[SERVER-77491] Make sure $text works with sharded time-series singleton writes without shard key Created: 25/May/23 Updated: 27/Oct/23 Resolved: 23/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Fausto Leyva (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Sprint: | Execution NAMR Team 2023-06-26 |
| Participants: |
| Description |
|
Time-series singleton writes without shard key performs an aggregation in the first phase to find potential shards with matching documents. But aggregate has a restriction that $match must be the first stage if we have $text in the match pipeline. For time-series collections, currently we make the unpack the first stage before match. |