Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1291

Add a "Passive bool" to "description.Server"

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0
    • Affects Version/s: None
    • Component/s: Core API
    • Labels:
    • Fully Compatible

      We have a use case where we'd like to monitor a replset and track the number of up-to-date voting secondary data nodes. description.Server already exposes Kind and LastUpdateTime, but I don't believe we can distinguish between a voting and non-voting passive node (i.e. votes=0, priority=0, but non-hidden). Afaict the only difference in "isMaster" output is a "passive": true field. It'd be nice if this was parsed and saved to "description.Server", similar to ReadOnly.

            Assignee:
            gabriela.asuncion@mongodb.com Gabby Asuncion
            Reporter:
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: