[SERVER-70514] Estimate total number of arrays via type counter instead of ArrayMin Created: 13/Oct/22 Updated: 29/Oct/23 Resolved: 20/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Timour Katchaounov | Assignee: | Timour Katchaounov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | M2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QO 2022-10-31 |
| Participants: |
| Description |
|
In a number of places CE needs the total number of arrays in a document path. This has been estimated via the total number of values in an ArrayMin histogram. It turns out that this histogram contains all minimum values in arrays per each data type. This makes it incorrect to use ArrayMin. This task will change the use of ArrayMin to the array type counter stored in ArrayHistogram. |
| Comments |
| Comment by Githook User [ 20/Oct/22 ] |
|
Author: {'name': 'Timour Katchaounov', 'email': 'timour.katchaounov@mongodb.com', 'username': 'timourk'}Message: |