[SERVER-68381] Investigate usages of Document::getApproximateSize Created: 28/Jul/22  Updated: 05/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Nikita Lapkov (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-61281 Fix underflow when accounting for Doc... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

After SERVER-61281, Document::getApproximateSize shapshots the return value on the first call and returns the same value on all subsequent calls. While this is generally a desired behaviour, there can be some exceptions to this. We need to investigate if any usages of this method explicitly rely on the fact that getApproximateSize returns the current size of the document and replace these calls with getCurrentApproximateSize.


Generated at Thu Feb 08 06:10:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.