[SERVER-71057] Only count types once per array for histogram CE Created: 03/Nov/22  Updated: 29/Oct/23  Resolved: 19/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Alya Berciu Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QO 2022-12-12, QO 2022-12-26
Participants:

 Description   

See this thread for motivation.

In the case of objects, we should make per-array object type counter count only the number of arrays that contain at least one object. The same should happen for other types that are tracked via type counters.



 Comments   
Comment by Githook User [ 19/Dec/22 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-71057 Count histogram types once per array
Branch: master
https://github.com/mongodb/mongo/commit/c2e9caa2fe8093a8fde55d1252c8c85d62859f7a

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