Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24016

checkReplDBHash hook should not print large documents

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.5
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 16 (06/24/16)
    • 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

      Attachments

        Activity

          People

            robert.guo@mongodb.com Robert Guo (Inactive)
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: