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

ReplicaSetMonitor does not need to invariant on _executor

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 15 (06/03/16)
    • 0

      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

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: