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

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

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.8.0
    • Core API
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: