[SERVER-81117] Determine if missing key check should return KeyNotFound or NoSuchKey error status Created: 15/Sep/23  Updated: 07/Dec/23  Resolved: 07/Dec/23

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

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: pm-855-milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-78452 Implement missing index key check in ... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-11-27, Repl 2023-12-11
Participants:

 Description   

We should determine what the semantic meaning of each of these errors is, and which of the return statuses is correct between KeyNotFound and NoSuchKey.



 Comments   
Comment by Githook User [ 07/Dec/23 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-81117: Use ErrorCodes::NoSuchKey in dbCheck

GitOrigin-RevId: d49161917f2c45e2007d4a98d595d0ebd57de1b1
Branch: master
https://github.com/mongodb/mongo/commit/9413e87979af724c04b0ceb6848979aed9b3d19f

Generated at Thu Feb 08 06:45:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.