myxce/src/include/clusterconfig.h
Rongsong Shen 0205ac3cd2 feat(controller): clusterconfig-schema-split task 1.2 — remove dead members from cluster_config_t
Deletes port, ncandidates, candidates/master_candidate_t**, vcpus, jobmgr,
workermgr, qmgr, resmgr, xstrings members from cluster_config_t (and their
now-orphaned supporting typedefs) to match the schema shrunk in task 1.1.

Other .c files still referencing these members intentionally do not
compile yet — that's tasks 2.1/2.2/2.3/3.
2026-07-21 03:13:33 +00:00

30 lines
927 B
C

#if !defined(_CLUSTERCONFIG_H_)
#define _CLUSTERCONFIG_H_ 1
#include "xce/types.h"
typedef struct {
char* clustername;
int heartbeat_interval;
int inactive_heartbeat_count;
int fetch_job_interval;
int netio_timeout;
int nres;
xce_resource_t** resources;
int nqueues;
xce_queue_t** queues;
int nugroups;
xce_group_config_t** ugroups;
int nhgroups;
xce_group_config_t** hgroups;
int nhconfigs;
xce_hostconfig_t** hconfigs;
int nhproviders;
scaler_config_t** hproviders;
int nlimits;
xce_limit_config_t** limits;
uint64_t config_generation; /* monotonic audit counter from capnp schema */
} cluster_config_t;
#endif