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

XMLWordPrintableJSON

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

      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:
              Gabby Asuncion
              Reporter:
              David Bartley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: