[DOCS-14995] [SERVER] Compound 2dsphere indexes can generate a massive number of index keys per document Created: 22/Dec/21 Updated: 13/Nov/23 Resolved: 15/Feb/22 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Dave Cuthbert (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 1 year, 51 weeks, 2 days ago | ||||||||
| Epic Link: | DOCSP-19447 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
Downstream Change Summary We may want to update documentation to reflect that we now limit the number of compound-2dsphere index keys that can be generated by a single document. If a document would generate more keys, the index build, insertion, or update will fail. Description of Linked TicketWhen generating keys for 2dsphere indexes we calculate the cartesian products of all keys. If documents contain locations with a large number of location coordinates compounded with an array of a large number of elements the resulting cartesian product can be massive in size. When generating all these keys they are inserted into a single std::vector that needs to hold the cartesian product number of elements which can fail as the number is simply too large. |
| Comments |
| Comment by Githook User [ 14/Feb/22 ] |
|
Author: {'name': 'Dave', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}Message:
|
| Comment by PM Bot [ 22/Dec/21 ] |
|
Downstream changes updated for upstream |