[SERVER-55786] Update PartitionIterator memory usage when documents are released Created: 05/Apr/21 Updated: 29/Oct/23 Resolved: 19/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Nicholas Zolnierz |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||
| Sprint: | Query Optimization 2021-05-03, Query Optimization 2021-05-17, Query Optimization 2021-05-31 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Logic was added to release documents from the iterator when possible, but the memory usage tracking does not account for it. Relevant code is here. |
| Comments |
| Comment by Githook User [ 24/May/21 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: This commit also handles the inflation of Documents as expressions are (cherry picked from commit be41c9d532346c873c5b909a18fe92e8885337cb) |
| Comment by Githook User [ 19/May/21 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: This commit also handles the inflation of Documents as expressions are |