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

Ensure that _inlock methods in ReplicationCoordinatorImpl take the lock

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication
    • Fully Compatible
    • Repl 2024-05-13

      By (old) convention, functions suffixed with `_inlock` expected the caller to hold the ReplicationCoordinatorImpl::_mutex. To better enforce this, those functions should take the lock in the type signature, and we can remove the suffix.

            Assignee:
            brad.cater@mongodb.com Brad Cater
            Reporter:
            brad.cater@mongodb.com Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: