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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Will Schultz
              Reporter:
              Will Schultz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: