[SERVER-75160] Support optimized targeted arbitrary multi deletes on a sharded timeseries collection Created: 22/Mar/23 Updated: 29/Oct/23 Resolved: 22/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Yoon Soo Kim | Assignee: | Yoon Soo Kim |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
We should support optimized targeted arbitrary multi deletes on a sharded timeseries collection by figuring out bucket-level predicate using BucketSpec::createPredicatesOnBucketLevelField helper function so that the shard key extractor can extract proper shard keys for more queries. For example, predicates on the time field can be translated into predicates on control.min.time since timeseries buckets collection can be sharded based on the time field. Detailed design section: https://docs.google.com/document/d/1XQHOYrsjxsE9de_xCYyOmZ6AbtgZeXFGDz0r8aQhbbo/edit#heading=h.wk35b7m7wgzl |
| Comments |
| Comment by Githook User [ 22/Apr/23 ] |
|
Author: {'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}Message: |