[SERVER-47350] Reuse temporary data structures during index builds Created: 06/Apr/20 Updated: 29/Oct/23 Resolved: 09/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2020-04-20 | ||||||||
| Participants: | |||||||||
| Description |
|
We instantiate KeyStringSet and MultikeyPaths data structures for every document during index builds. We should be able to reuse these data structures by moving them to a higher level and clearing them between documents. |
| Comments |
| Comment by Githook User [ 09/Apr/20 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: It is meant to be a container for reusing temporary objects within an operation instead of creating and destroying new instances. At the moment, used for index building where it keeps data structures for KeyStringSet and MultikeyPaths. |