[SERVER-84557] Initialize Summation in aggregated_metric.h with initial zero value. Created: 04/Jan/24 Updated: 09/Jan/24 Resolved: 09/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Santiago Roche | Assignee: | Santiago Roche |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
In AggregatedMetric (see aggregated_metric.h), when the Summation<T> defaults to a the underlying POD type summation (not DoubleDum case), the Summation objects are default initialized without a 0 value. Provide zero initialization for these summations. |
| Comments |
| Comment by Githook User [ 09/Jan/24 ] |
|
Author: {'name': 'Santiago Roche', 'email': '69868136+sroches@users.noreply.github.com', 'username': 'sroches'}Message: GitOrigin-RevId: 8dc0cb7a249c0ad8dc818a2a088edd79403f1f6d |