[SERVER-42492] Attach DiagnosticInfo on long mongo::ConditionVariable::wait() Created: 29/Jul/19 Updated: 29/Oct/23 Resolved: 20/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Rahul Sundararaman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Service Arch 2019-08-26 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
We should modify ConditionVariable::wait() (and sibling functions) to attach a DiagnosticInfo to Client similar to how we modified Mutex::lock() for contended locking after 100ms. This will allow us to identify Condvars where they are able to acquire the underlying lock but their condition is not satisfied. |
| Comments |
| Comment by Githook User [ 31/Oct/19 ] |
|
Author: {'username': 'bcaimano', 'email': 'ben.caimano@mongodb.com', 'name': 'Ben Caimano'}Message: This commit backports Mutex, BasicLockableAdaptor, and DiagnosticInfo to Mutex: BasicLockableAdaptor: DiagnosticInfo:
Note that while this commit adds these pieces and integrates them into |
| Comment by Githook User [ 21/Aug/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 20/Aug/19 ] |
|
Author: {'username': 'rsbballguy', 'email': 'rahul.sundararaman@10gen.com', 'name': 'Rahul Sundararaman'}Message: |