[SERVER-42414] Improve KeyString invalid format error messages Created: 25/Jul/19  Updated: 29/Oct/23  Resolved: 11/Oct/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Evgeni Dobranov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
is related to SERVER-44185 Convert keyStringAssert() and keyStri... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-21
Participants:
Linked BF Score: 0

 Description   

Many format errors in KeyString uassert without context that the failure was due to an invalid key format.

We should define a macro that adds context like "KeyString format error: " etc for more information



 Comments   
Comment by Githook User [ 11/Oct/19 ]

Author:

{'name': 'Evgeni Dobranov', 'username': 'edobranov', 'email': 'evgeni.dobranov@mongodb.com'}

Message: SERVER-42414 Improve KeyString invalid format assert messages
Branch: master
https://github.com/mongodb/mongo/commit/217719684c170987ef5bb45e0393c32299811943

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