[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: SERVER-60986 WiredTigerIndex insert functions include uri and index name in WT status
Branch: master
https://github.com/mongodb/mongo/commit/14a086297947c8a2cb697acf44250bdda9d02292

Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-60986 add support for context expression to wtRCToStatus()
Branch: master
https://github.com/mongodb/mongo/commit/2d428795b0bf58f39f46ab75e9ec638ce8f83a17

Generated at Thu Feb 08 05:51:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.