Call pandoraha_sync_node from pandora_ha.

This commit is contained in:
Ramon Novoa 2023-03-29 14:02:35 +02:00
parent 35a1c2332d
commit c10130ce63
1 changed files with 3 additions and 0 deletions

View File

@ -642,6 +642,9 @@ sub ha_main_pandora($) {
# Execute resync actions.
enterprise_hook('pandoraha_resync_dbs', [$conf, $dbh, $DB_Host, \@HA_DB_Hosts]);
# Synchronize nodes.
enterprise_hook('pandoraha_sync_node', [$conf, $dbh]);
};
log_message($conf, 'WARNING', $@) if ($@);