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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0-rc1
    • Affects Version/s: None
    • Component/s: Concurrency, Sharding
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None