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

Logging to stdout can break in V8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.3.2
    • 2.4.0-rc0
    • Shell
    • None
    • Fully Compatible
    • ALL

    Description

      Edit jstests/drop2.js to put a print statement after the last call to assert.soon, before it runs killOp. Run that test under v8 - the print statement never prints. Run it under spidermonkey and it does.

      I initially thought the output buffer just wasn't being flushed, but sleeping any amount of time, and/or adding more print statements with newlines doesn't help.

      Attachments

        Issue Links

          Activity

            People

              tad Tad Marshall
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: