[GODRIVER-1291] Add a "Passive bool" to "description.Server" Created: 31/Aug/19 Updated: 28/Oct/23 Resolved: 26/Oct/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Core API |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | David Bartley | Assignee: | Gabby Asuncion |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | 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. |
| Comments |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Gabriela Asuncion', 'email': 'gabriela.asuncion@mongodb.com', 'username': 'gabbyasuncion'}Message: |
| Comment by Gabby Asuncion [ 26/Oct/21 ] |
| Comment by Kevin Albertson [ 13/Oct/21 ] |
|
Hello bartle! Thank you for filing this feature request. We may be addressing this soon. Can you confirm whether adding "passive" is still helpful to your use case? |