voting_term table and term parameter undocumented
https://repmgr.org/docs/4.0/repmgr-user-metadata.html
No documentation for voting_term table. At least I can't find it.
What is the use of voting term and what does it track? The number of times an election with a winner has happened?
Also, is there a single html page view of the documentation for easy searching too?
What is the use of voting term and what does it track? The number of times an election with a winner has happened?
Currently it's incremented each time a failover takes place. Currently it serves no particular purpose, but is intended to be part of a refactoring of the failover mechanism, when time allows.
Also, is there a single html page view of the documentation for easy searching too?
Here you go: https://repmgr.org/docs/repmgr.html (thanks to @fanf2 for the patch)
OK, thanks for the html. I think voting_term should be described in the docs too.