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

Logging to stdout can break in V8

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc0
    • Affects Version/s: 2.3.2
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: