[SERVER-51603] add log message for failing validation via exception path Created: 14/Oct/20  Updated: 29/Oct/23  Resolved: 26/Oct/20

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.3

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Eric Milkie
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to WT-6538 Fix onpage prepare visibility check i... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-11-02
Participants:

 Description   

Currently, the catch block of free function validate() in collection_validation.cpp only adds a string error message to the results returned to the command; it doesn't log a message to the system log. All other codepaths for validate log a message at the command's conclusion stating whether validate found corruption or not.
This type of failure is affecting WT-6538 since it makes it difficult to determine which validate command in the test generated the failure.



 Comments   
Comment by Githook User [ 30/Nov/20 ]

Author:

{'name': 'Eric Milkie', 'email': 'milkie@10gen.com', 'username': 'milkie'}

Message: SERVER-51603 log a message when validation ends in an exception

(cherry picked from commit 610f866d059f82e01e87af35e3035118bcdbdef8)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2b220b6e36f7db4e39f17527acc66f2490a80cca

Comment by Githook User [ 26/Oct/20 ]

Author:

{'name': 'Eric Milkie', 'email': 'milkie@10gen.com', 'username': 'milkie'}

Message: SERVER-51603 log a message when validation ends in an exception
Branch: master
https://github.com/mongodb/mongo/commit/610f866d059f82e01e87af35e3035118bcdbdef8

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