[SERVER-24016] checkReplDBHash hook should not print large documents Created: 03/May/16  Updated: 05/Apr/17  Resolved: 09/Jun/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 16 (06/24/16)
Participants:
Linked BF Score: 0

 Description   

the hook's _dump_oplog method currently prints all documents in the oplog. But some large entries can cause the logs to not be displayed correctly in logkeeper. We should not print documents that are larger than some threshold. e.g. 2k bytes



 Comments   
Comment by Robert Guo (Inactive) [ 09/Jun/16 ]

Long lines are displayed correctly on non-corrupted hosts

Comment by Kamran K. [ 03/May/16 ]

I'd like to understand why the large document caused a logging issue before we start truncating things.

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