[SERVER-69036] Cluster dbStats command rounds prematurely Created: 22/Aug/22  Updated: 29/Oct/23  Resolved: 25/Oct/22

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

Type: Bug Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-77830 remove noPassthrough/dbstats_sharded_... Closed
is related to SERVER-68309 Investigate for unsafe narrowing conv... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-10-31
Participants:
Linked BF Score: 35

 Description   

Several field types return a double (fractional) response from the mongod nodes. While aggregating, we sum these into integral fields, then proceed to scale them and return fractional results. We should try to avoid the intermediate rounding.



 Comments   
Comment by Githook User [ 25/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69036: Avoid intermediate rounding in cluster_db_stats_cmd
Branch: master
https://github.com/mongodb/mongo/commit/a6d7c6b9ada09016da5868f23e3f199854210116

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