Investigate usage of hasExclusively calls

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When used with the return value of ShardingState::get(opCtx)->pollClusterRole(), the hasExclusively call will always return false, since the shards have always more than one role (ShardServer and RouterServer). The purpose of this ticket is to investigate the calls done to hasExclusively and find the cases where this happens, and fix them. 

            Assignee:
            Unassigned
            Reporter:
            Marco Bizzarri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: