repmgr icon indicating copy to clipboard operation
repmgr copied to clipboard

voting_term table and term parameter undocumented

Open kilx opened this issue 7 years ago • 2 comments

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?

kilx avatar Apr 12 '18 08:04 kilx

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)

ibarwick avatar Apr 13 '18 02:04 ibarwick

OK, thanks for the html. I think voting_term should be described in the docs too.

kilx avatar Apr 13 '18 06:04 kilx