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

ReplicaSetMonitor does not need to invariant on _executor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.8
    • Sharding
    • None
    • Fully Compatible
    • Sharding 15 (06/03/16)
    • 0

    Description

      As ReplicaSetMonitor can be constructed without _executor set via ReplicaSetMonitor() or ReplicaSetMonitor(const SetStatePtr&) c-tors
      there is no need to invariant(_executor) in the d-tor

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: