-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
5
erin.zhu@mongodb.com and I noticed some mis-accounting going on while investigating a performance BF which might have been partially attributable to us starting to store more query stats, even though we are using the same-ish amount of space (after/around SERVER-79736).
This ticket tracks the work to better account for space used, and to add some more testing around it. Specifically, I noticed:
- query_stats::FindCmdComponents::size() fails to account for the sizeof(*this)
- query_shape::FindCmdShapeComponents::size() accidentally uses sizeof(this) (pointer) instead of sizeof(*this) (struct).
- is depended on by
-
SERVER-85096 TRACKING: M3 Correctness Tickets
- Closed
- is related to
-
SERVER-79736 Hash C++ data structures directly rather than building BSONObj
- Closed