Remove unneeded functions

This commit is contained in:
Ian Barwick
2017-11-20 15:18:21 +09:00
parent 454c0b7bd9
commit 67e27f9ecd
8 changed files with 0 additions and 176 deletions

View File

@@ -2383,14 +2383,6 @@ do_election(void)
local_node_info.last_wal_receive_lsn = InvalidXLogRecPtr;
/*
* Here we mark ourselves as candidate, so any further vote requests are
* rejected. However it's possible another node has done the same thing,
* so when announcing ourselves as candidate to the other nodes, we'll
* check for that and withdraw our candidature.
*/
set_voting_status_initiated(local_conn, electoral_term);
/* fast path if no other standbys (or witness) exists - normally win by default */
if (standby_nodes.node_count == 0)
{