-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
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.
- related to
-
SERVER-61281 Fix underflow when accounting for Document size in query memory tracker
- Closed