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

CollectionCloner::_handleARMResultsCallback doesn't acquire mutex before accessing member variables

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.13
    • Replication
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      The method CollectionCloner::_handleARMResultsCallback doesn't synchronize access to member variables, for example, when it calls _bufferNextBatchFromArm() it is modifying the _documentsToInsert vector without holding a mutex. It needs to acquire the CollectionCloner mutex before reading or writing member variable data.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: