mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Don't say 'standbies', especially when we don't actually do anything
This commit is contained in:
11
repmgrd.c
11
repmgrd.c
@@ -319,22 +319,19 @@ main(int argc, char **argv)
|
|||||||
log_info(_("starting continuous primary connection check\n"));
|
log_info(_("starting continuous primary connection check\n"));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check that primary is still alive, and standbies are
|
* Check that primary is still alive.
|
||||||
* sending info
|
* XXX We should also check that the
|
||||||
|
* standby servers are sending info
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Every local_options.monitor_interval_secs seconds, do
|
* Every local_options.monitor_interval_secs seconds, do
|
||||||
* master checks XXX Check that standbies are sending info
|
* master checks
|
||||||
*/
|
*/
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (check_connection(primary_conn, "master"))
|
if (check_connection(primary_conn, "master"))
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* CheckActiveStandbiesConnections();
|
|
||||||
* CheckInactiveStandbies();
|
|
||||||
*/
|
|
||||||
sleep(local_options.monitor_interval_secs);
|
sleep(local_options.monitor_interval_secs);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user