[SERVER-67189] ShardingDataTransformInstanceMetrics reads uninitialized value Created: 10/Jun/22 Updated: 29/Oct/23 Resolved: 15/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Sharding NYC 2022-06-13, Sharding 2022-06-27 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 33 | ||||||||
| Description |
|
when registering new metrics. When it creates a new instance here, it registers the observer to itself to the cumulative metrics class. This will then the trigger the comparator to check the values of the startTime. However, the startTime value is initialized after the registration so it is reading an uninitialized value. |
| Comments |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: |