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

CollectionCloner must not set _clientConnection without holding _mutex

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.6
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-11-19
    • 56

    Description

      The CollectionCloner sets _clientConnection without holding _mutex. This causes _cancelRemainingWork_inlock() to be able to read bad state. _clientConnection must only be set while holding _mutex. It is expected that _clientConnection is always set when _queryState is kRunning.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: