[SERVER-60562] Double-check cursor on duplicate key error when testing is enabled Created: 08/Oct/21  Updated: 29/Oct/23  Resolved: 24/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on WT-8289 Provide a means to get K/V pair on du... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-11-01, Execution Team 2022-02-07, Execution Team 2022-02-21, Execution Team 2022-03-07
Participants:
Linked BF Score: 0

 Description   

Currently when an insert into WiredTiger returns WT_DUPLICATE_KEY (for instance for the _id index), we don't have any diagnostics to check the key/value that caused the duplicate key error. It may be valuable to have some verification here if testing is enabled.



 Comments   
Comment by Githook User [ 24/Feb/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-60562 Include cursor value in duplicate key error when testing is enabled
Branch: master
https://github.com/mongodb/mongo/commit/ab0af4dc877ea795069b720b5900e313f7e36f02

Comment by Keith Bostic (Inactive) [ 24/Jan/22 ]

gregory.noma, the work in WiredTiger to make this information available has been merged.

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