[SERVER-60986] include ident in WiredTigerIndex::insert() error messages Created: 26/Oct/21 Updated: 29/Oct/23 Resolved: 29/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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2021-11-01 |
| Participants: |
| Description |
|
The insert operations in the WiredTigerIndex classes (WiredTigerIdIndex, WiredTigerUniqueIndex, and WiredTigerIndexStandard) convert error codes from the WT storage engine into Status objects. It would be helpful for diagnostics to include the ident information stored in the WiredTigerIndex class in these Status objects. This work would include extended the wtRCToStatus() function to include a context expression (similar to what is done for the user assertion functions in assert_util.h) |
| Comments |
| Comment by Githook User [ 28/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 28/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |