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

OpDebug::planSummary std::string may be accessed concurrently by multiple threads

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • Internal Code
    • None
    • ALL
    • 0

    Description

      In c51857a44af6fc69f1e21bb9c6b2b6adda0ef80e, OpDebug::planSummary was added. This is a std::string, but it may be concurrently read and written from different threads which is definitely illegal.

      One possible example is being read by ::inProgCmd via CurOp::info, while being written to by ::newRunQuery.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: