mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Add "cluster matrix" and "cluster crosscheck" actions
This commit is contained in:
@@ -6,8 +6,34 @@
|
||||
#ifndef _REPMGR_ACTION_CLUSTER_H_
|
||||
#define _REPMGR_ACTION_CLUSTER_H_
|
||||
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int node_id;
|
||||
int node_status;
|
||||
} t_node_status_rec;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int node_id;
|
||||
char node_name[MAXLEN];
|
||||
t_node_status_rec **node_status_list;
|
||||
} t_node_matrix_rec;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int node_id;
|
||||
char node_name[MAXLEN];
|
||||
t_node_matrix_rec **matrix_list_rec;
|
||||
} t_node_status_cube;
|
||||
|
||||
|
||||
|
||||
extern void do_cluster_show(void);
|
||||
extern void do_cluster_event(void);
|
||||
extern void do_cluster_crosscheck(void);
|
||||
extern void do_cluster_matrix(void);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user