ReplicaSetMonitor does not need to invariant on _executor

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Misha Tyulenev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: