[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: |
|
||||
| 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: |
| 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. |