[SERVER-54961] ReshardingMetrics getOperationElapsedTime needs to lock Created: 04/Mar/21 Updated: 29/Oct/23 Resolved: 26/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Billy Donahue | Assignee: | Kshitij Gupta |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-autocommits | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding 2021-04-05 |
| Participants: | |
| Story Points: | 1 |
| Description |
|
boost::optional<Milliseconds> getOperationElapsedTime() const. This function was added recently and accesses the runningOperation TimeInterval without acquiring a lock on _mutex as required by
|
| Comments |
| Comment by Githook User [ 26/Mar/21 ] |
|
Author: {'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}Message: |
| Comment by Kshitij Gupta [ 24/Mar/21 ] |