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

ReplicationCoordinatorImpl::_memberState is read without proper locking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.5
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2017-03-06, Repl 2017-03-27

      Description

      ReplicationCoordinatorImpl::canAcceptWritesFor and checkCanServeReadsFor both read _memberState and make decisions on it, but neither lock _mutex or _topoMutex.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: