20 #include <Properties.hpp>
21 #include <Configuration.hpp>
25 c_tables(c_tablePool),
26 c_subscriptions(c_subscriptionPool),
27 c_gcp_list(c_gcp_pool),
28 m_current_gci(~(Uint64)0)
30 BLOCK_CONSTRUCTOR(
Suma);
33 addRecSignal(GSN_READ_CONFIG_REQ, &Suma::execREAD_CONFIG_REQ);
35 addRecSignal(GSN_NDB_STTOR, &Suma::execNDB_STTOR);
36 addRecSignal(GSN_DUMP_STATE_ORD, &Suma::execDUMP_STATE_ORD);
37 addRecSignal(GSN_DBINFO_SCANREQ, &Suma::execDBINFO_SCANREQ);
38 addRecSignal(GSN_READ_NODESCONF, &Suma::execREAD_NODESCONF);
39 addRecSignal(GSN_API_START_REP, &Suma::execAPI_START_REP,
true);
40 addRecSignal(GSN_API_FAILREQ, &Suma::execAPI_FAILREQ);
41 addRecSignal(GSN_NODE_FAILREP, &Suma::execNODE_FAILREP);
44 addRecSignal(GSN_SIGNAL_DROPPED_REP, &Suma::execSIGNAL_DROPPED_REP,
true);
45 addRecSignal(GSN_UTIL_SEQUENCE_CONF, &Suma::execUTIL_SEQUENCE_CONF);
46 addRecSignal(GSN_UTIL_SEQUENCE_REF, &Suma::execUTIL_SEQUENCE_REF);
47 addRecSignal(GSN_CREATE_SUBID_REQ,
48 &Suma::execCREATE_SUBID_REQ);
53 addRecSignal(GSN_SUB_START_CONF, &Suma::execSUB_START_CONF);
54 addRecSignal(GSN_SUB_START_REF, &Suma::execSUB_START_REF);
57 addRecSignal(GSN_SUMA_START_ME_REF, &Suma::execSUMA_START_ME_REF);
58 addRecSignal(GSN_SUMA_START_ME_CONF, &Suma::execSUMA_START_ME_CONF);
59 addRecSignal(GSN_SUMA_HANDOVER_REQ, &Suma::execSUMA_HANDOVER_REQ);
60 addRecSignal(GSN_SUMA_HANDOVER_REF, &Suma::execSUMA_HANDOVER_REF);
61 addRecSignal(GSN_SUMA_HANDOVER_CONF, &Suma::execSUMA_HANDOVER_CONF);
63 addRecSignal(GSN_SUB_GCP_COMPLETE_ACK,
64 &Suma::execSUB_GCP_COMPLETE_ACK);
66 addRecSignal(GSN_STOP_ME_REQ,
83 addRecSignal(GSN_CREATE_TAB_CONF, &Suma::execCREATE_TAB_CONF);
85 addRecSignal(GSN_GET_TABINFO_CONF, &Suma::execGET_TABINFO_CONF);
88 addRecSignal(GSN_DICT_LOCK_REF, &Suma::execDICT_LOCK_REF);
89 addRecSignal(GSN_DICT_LOCK_CONF, &Suma::execDICT_LOCK_CONF);
95 addRecSignal(GSN_DIH_SCAN_TAB_CONF, &Suma::execDIH_SCAN_TAB_CONF);
97 addRecSignal(GSN_CHECKNODEGROUPSCONF, &Suma::execCHECKNODEGROUPSCONF);
98 addRecSignal(GSN_GCP_PREPARE, &Suma::execGCP_PREPARE);
104 addRecSignal(GSN_TRANSID_AI, &Suma::execTRANSID_AI);
105 addRecSignal(GSN_KEYINFO20, &Suma::execKEYINFO20);
106 addRecSignal(GSN_SCAN_FRAGREF, &Suma::execSCAN_FRAGREF);
107 addRecSignal(GSN_SCAN_FRAGCONF, &Suma::execSCAN_FRAGCONF);
109 addRecSignal(GSN_SUB_SYNC_CONTINUE_REF,
110 &Suma::execSUB_SYNC_CONTINUE_REF);
112 addRecSignal(GSN_SUB_SYNC_CONTINUE_CONF,
113 &Suma::execSUB_SYNC_CONTINUE_CONF);
127 addRecSignal(GSN_SUB_GCP_COMPLETE_REP,
130 addRecSignal(GSN_CREATE_NODEGROUP_IMPL_REQ,
131 &Suma::execCREATE_NODEGROUP_IMPL_REQ);
133 addRecSignal(GSN_DROP_NODEGROUP_IMPL_REQ,
134 &Suma::execDROP_NODEGROUP_IMPL_REQ);
137 c_outstanding_drop_trig_req = 0;
139 c_startup.m_restart_server_node_id = RNIL;
140 c_shutdown.m_wait_handover =
false;
145 m_missing_data =
false;
146 bzero(c_subscriber_per_node,
sizeof(c_subscriber_per_node));
148 m_gcp_rep_cnt = getLqhWorkers();
149 m_min_gcp_rep_counter_index = 0;
150 m_max_gcp_rep_counter_index = 0;
151 bzero(m_gcp_rep_counter,
sizeof(m_gcp_rep_counter));
159 BLOCK_FUNCTIONS(
Suma)