Home
last modified time | relevance | path

Searched refs:wd_failover_id (Results 1 – 9 of 9) sorted by relevance

/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/include/watchdog/
H A Dwd_ipc_commands.h73 extern WDFailoverCMDResults wd_send_failback_request(int node_id, unsigned int *wd_failover_id);
74 …verCMDResults wd_degenerate_backend_set(int *node_id_set, int count, unsigned int *wd_failover_id);
75 extern WDFailoverCMDResults wd_promote_backend(int node_id, unsigned int *wd_failover_id);
87 extern WDFailoverCMDResults wd_end_failover_interlocking(unsigned int wd_failover_id);
88 extern WDFailoverCMDResults wd_start_failover_interlocking(unsigned int wd_failover_id);
89 …ailoverCMDResults wd_failover_lock_release(enum WDFailoverLocks lock, unsigned int wd_failover_id);
90 …FailoverCMDResults wd_failover_lock_status(enum WDFailoverLocks lock, unsigned int wd_failover_id);
91 … wd_wait_until_command_complete_or_timeout(enum WDFailoverLocks lock, unsigned int wd_failover_id);
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/watchdog/
H A Dwd_commands.c632 wd_send_failback_request(int node_id, unsigned int *wd_failover_id) in wd_send_failback_request() argument
647 res = wd_get_failover_result_from_data(result, wd_failover_id); in wd_send_failback_request()
664 jw_put_int(jNode, "WDFailoverID", wd_failover_id); in get_wd_failover_cmd_type_json()
760 res = wd_get_failover_result_from_data(result, wd_failover_id); in wd_degenerate_backend_set()
766 wd_promote_backend(int node_id, unsigned int *wd_failover_id) in wd_promote_backend() argument
780 res = wd_get_failover_result_from_data(result, wd_failover_id); in wd_promote_backend()
881 WDFailoverCMDResults wd_start_failover_interlocking(unsigned int wd_failover_id) in wd_start_failover_interlocking() argument
888 WDFailoverCMDResults wd_end_failover_interlocking(unsigned int wd_failover_id) in wd_end_failover_interlocking() argument
891 return wd_issue_failover_lock_command(WD_REQ_FAILOVER_END, 0, wd_failover_id); in wd_end_failover_interlocking()
916 res = wd_failover_lock_status(lock, wd_failover_id); in wd_wait_until_command_complete_or_timeout()
[all …]
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/main/
H A Dpgpool_main.c662 Req_info->request[index].wd_failover_id = wd_failover_id; in register_node_operation_request()
1320 if (pool_config->use_watchdog && wd_failover_id == 0) in promote_backend()
1325 res = wd_promote_backend(node_id, &wd_failover_id); in promote_backend()
1383 node_id, getpid(),wd_failover_id))); in send_failback_request()
1386 if (pool_config->use_watchdog && wd_failover_id == 0) in send_failback_request()
1690 unsigned int wd_failover_id; in failover() local
1710 wd_failover_id = Req_info->request[queue_index].wd_failover_id; in failover()
1751 wd_end_failover_interlocking(wd_failover_id); in failover()
1798 wd_end_failover_interlocking(wd_failover_id); in failover()
1832 wd_end_failover_interlocking(wd_failover_id); in failover()
[all …]
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/watchdog/
H A Dwd_internal_commands.c71 unsigned int *wd_failover_id);
366 …rCMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id) in wd_get_failover_result_from_data() argument
408 if (root && json_get_int_value_for_key(root, WD_FAILOVER_ID_KEY, (int *) wd_failover_id)) in wd_get_failover_result_from_data()
424 unsigned int wd_failover_id; in wd_issue_failover_command() local
434 res = wd_get_failover_result_from_data(result, &wd_failover_id); in wd_issue_failover_command()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/watchdog/
H A Dwd_internal_commands.c71 unsigned int *wd_failover_id);
367 …rCMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id) in wd_get_failover_result_from_data() argument
409 if (root && json_get_int_value_for_key(root, WD_FAILOVER_ID_KEY, (int *) wd_failover_id)) in wd_get_failover_result_from_data()
425 unsigned int wd_failover_id; in wd_issue_failover_command() local
435 res = wd_get_failover_result_from_data(result, &wd_failover_id); in wd_issue_failover_command()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/include/
H A Dpool.h414 unsigned int wd_failover_id; /* watchdog ID for this failover operation */ member
538 …OOL_REQUEST_KIND kind, int* node_id_set, int count, bool switch_over, unsigned int wd_failover_id);
569 …degenerate_backend_set(int *node_id_set, int count, bool switch_over, unsigned int wd_failover_id);
570 …node_id_set, int count, bool error, bool test_only, bool switch_over, unsigned int wd_failover_id);
571 extern bool promote_backend(int node_id, unsigned int wd_failover_id);
572 extern bool send_failback_request(int node_id, bool throw_error, unsigned int wd_failover_id);
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/watchdog/
H A Dwd_commands.c62 …CMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id);
721 …rCMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id) in wd_get_failover_result_from_data() argument
763 if (root && json_get_int_value_for_key(root, WD_FAILOVER_ID_KEY, (int *) wd_failover_id)) in wd_get_failover_result_from_data()
779 unsigned int wd_failover_id; in wd_issue_failover_command() local
789 res = wd_get_failover_result_from_data(result, &wd_failover_id); in wd_issue_failover_command()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/watchdog/
H A Dwd_commands.c61 …rCMDResults wd_get_failover_result_from_data(WDIPCCmdResult *result, unsigned int *wd_failover_id);
687 …erCMDResults wd_get_failover_result_from_data(WDIPCCmdResult *result, unsigned int *wd_failover_id) in wd_get_failover_result_from_data() argument
732 if (root && json_get_int_value_for_key(root, WD_FAILOVER_ID_KEY, (int*)wd_failover_id)) in wd_get_failover_result_from_data()
748 unsigned int wd_failover_id; in wd_issue_failover_command() local
757 res = wd_get_failover_result_from_data(result, &wd_failover_id); in wd_issue_failover_command()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/watchdog/
H A Dwd_commands.c62 …CMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id);
721 …rCMDResults wd_get_failover_result_from_data(WDIPCCmdResult * result, unsigned int *wd_failover_id) in wd_get_failover_result_from_data() argument
763 if (root && json_get_int_value_for_key(root, WD_FAILOVER_ID_KEY, (int *) wd_failover_id)) in wd_get_failover_result_from_data()
779 unsigned int wd_failover_id; in wd_issue_failover_command() local
789 res = wd_get_failover_result_from_data(result, &wd_failover_id); in wd_issue_failover_command()