[SERVER-41812] Log validation errors when a document fails to validate Created: 18/Jun/19  Updated: 29/Oct/23  Resolved: 04/Sep/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:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-09-09
Participants:
Linked BF Score: 17

 Description   

If a document fails validation, we don't actually log what failed.

We should log the status or values of validatedSize and dataSize to aid in debugging.



 Comments   
Comment by Githook User [ 04/Sep/19 ]

Author:

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

Message: SERVER-41812 Log validation errors when a document fails to validate
Branch: master
https://github.com/mongodb/mongo/commit/e6318e0a56593831578626d03a7ca2183c1842f4

Comment by Louis Williams [ 26/Jun/19 ]

sue.loverso yes, that's what I was hoping.

Comment by Susan LoVerso [ 26/Jun/19 ]

louis.williams is this ticket essentially adding in the extra information that you added as debugging in BF-13389? I.e. the BSON sizes both expected and what WT gave? If so, great. If not, I think it should because that seems very useful.

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