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