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

SplitVector::run() appears to use currKey in a way that is not concurrency safe

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.8.0-rc1
    • None
    • Concurrency, Sharding
    • None
    • ALL

    Description

      The splitKeys and tooFrequentKeys collections in this function are populated using BSONObj objects copied directly from the cursor. Since we can yield while these collections are in use, we should make sure any necessary BSONObj objects from the cursor are owned.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: