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

decrease fork-exec window in jstest shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 25

    Description

      The are several coverage tickets that run into a tcmalloc locking race condition. Most likely this is from the fork exec window here.

      More details can found in SERVER-61860 which ran into the same issue (same stack trace) in the unittests.

      It's theorized the normal the jstest shell doesn't hit this case because the lock window is pretty small already, but with clang coverage the code execution is slower because the extra overhead from generated coverage calls. More details in this comment.

      Attachments

        Activity

          People

            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: