mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Clarify a couple of code comments
This commit is contained in:
@@ -385,7 +385,7 @@ monitor_streaming_primary(void)
|
|||||||
* as we're monitoring the primary, no point in trying to
|
* as we're monitoring the primary, no point in trying to
|
||||||
* write the event to the database
|
* write the event to the database
|
||||||
*
|
*
|
||||||
* XXX possible pre-action event
|
* TODO: possibly add pre-action event here
|
||||||
*/
|
*/
|
||||||
create_event_notification(NULL,
|
create_event_notification(NULL,
|
||||||
&config_file_options,
|
&config_file_options,
|
||||||
@@ -1405,7 +1405,7 @@ monitor_streaming_standby(void)
|
|||||||
_("unable to connect to upstream node \"%s\" (node ID: %i)"),
|
_("unable to connect to upstream node \"%s\" (node ID: %i)"),
|
||||||
upstream_node_info.node_name, upstream_node_info.node_id);
|
upstream_node_info.node_name, upstream_node_info.node_id);
|
||||||
|
|
||||||
/* XXX possible pre-action event */
|
/* TODO: possibly add pre-action event here */
|
||||||
if (upstream_node_info.type == STANDBY)
|
if (upstream_node_info.type == STANDBY)
|
||||||
{
|
{
|
||||||
create_event_record(primary_conn,
|
create_event_record(primary_conn,
|
||||||
|
|||||||
Reference in New Issue
Block a user