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

Include hidden nodes in "hiddens" field of isMaster response

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch 2019-11-04

      isMaster now includes "active" nodes, in "hosts", arbiters in "arbiters", and passive nodes (priority 0 but non-hidden). It'd be helpful to also include hidden nodes. The use case we have in mind is for automated rolling index builds; our replset configuration consists of 5 active data nodes, and 1 backup node running on EBS (that we take EBS snapshots for). The backup node is hidden, so we have to call replSetGetConfig to discover this node. It'd be nice if isMaster just included that, since we could presumably just query the driver (which obviously calls isMaster regularly).

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: