Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1503

Truncated playback file when using --gzip option

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0-rc3
    • 3.4.0-rc0
    • mongoreplay
    • None
    • Platforms 2016-10-31

    Description

      • create a collection with 100 documents of 1 MB each
      • begin tcpdump capture
      • do a collection scan
      • end tcpdump capture
      • create playback file from the tcpdump capture using the --gzip option

                    mongoreplay record -f $pcap -p $bson
        

      The resulting file seems to be truncated:

      • mongoreplay monitor --gzip quits early and complains

        2016/10/20 12:05:32 OpChan: ReadDocument Error: unexpected EOF
        

      • gunzip reports "unexpected end of file"

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: