[SERVER-60985] include WT_SESSION pointer in GDB pretty printer for dumping all active RecoveryUnits Created: 26/Oct/21 Updated: 29/Oct/23 Resolved: 26/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Execution Team 2021-11-01 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 136 | ||||||||||||
| Description |
|
The GDB pretty printer mongodb-dump-recovery-units is used by the hang analyzer to dump the state of all active RecoveryUnits in a mongod server. In the case of the WiredTiger storage engine, the WiredTigerRecoveryUnit holds a WiredTigerSession which is displayed as an opaque unique pointer. The session object contains a WT_SESSION pointer which would be very useful to include in the pretty printer output for diagnostic purposes. |
| Comments |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 26/Oct/21 ] |
|
The pretty printer currently fails in the SessionCatalog stage with a gdb.Error reported in SERVER-59856. |
| Comment by Benety Goh [ 26/Oct/21 ] |
|
This ticket builds on the work completed in |