18 #ifndef NDBD_EXIT_CODES_H
19 #define NDBD_EXIT_CODES_H
25 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
44 ndbd_exit_st_success = 0,
45 ndbd_exit_st_unknown = 1,
46 ndbd_exit_st_permanent = 2,
47 ndbd_exit_st_temporary = 3,
48 ndbd_exit_st_filesystem_error = 4
49 } ndbd_exit_status_enum;
53 ndbd_exit_cl_none = 0,
54 ndbd_exit_cl_unknown = 1,
55 ndbd_exit_cl_internal_error = 2,
56 ndbd_exit_cl_configuration_error = 3,
57 ndbd_exit_cl_arbitration_error = 4,
58 ndbd_exit_cl_restart_error = 5,
59 ndbd_exit_cl_resource_configuration_error = 6,
60 ndbd_exit_cl_filesystem_full_error = 7,
61 ndbd_exit_cl_filesystem_inconsistency_error = 8,
62 ndbd_exit_cl_filesystem_limit = 9
63 } ndbd_exit_classification_enum;
65 typedef ndbd_exit_status_enum ndbd_exit_status;
66 typedef ndbd_exit_classification_enum ndbd_exit_classification;
69 #define NDBD_EXIT_GENERIC 2300
70 #define NDBD_EXIT_PRGERR 2301
71 #define NDBD_EXIT_NODE_NOT_IN_CONFIG 2302
72 #define NDBD_EXIT_SYSTEM_ERROR 2303
73 #define NDBD_EXIT_INDEX_NOTINRANGE 2304
74 #define NDBD_EXIT_ARBIT_SHUTDOWN 2305
75 #define NDBD_EXIT_POINTER_NOTINRANGE 2306
76 #define NDBD_EXIT_PARTITIONED_SHUTDOWN 2307
77 #define NDBD_EXIT_SR_OTHERNODEFAILED 2308
78 #define NDBD_EXIT_NODE_NOT_DEAD 2309
79 #define NDBD_EXIT_SR_REDOLOG 2310
80 #define NDBD_EXIT_SR_RESTARTCONFLICT 2311
81 #define NDBD_EXIT_NO_MORE_UNDOLOG 2312
82 #define NDBD_EXIT_SR_UNDOLOG 2313
83 #define NDBD_EXIT_SINGLE_USER_MODE 2314
84 #define NDBD_EXIT_NODE_DECLARED_DEAD 2315
85 #define NDBD_EXIT_SR_SCHEMAFILE 2316
86 #define NDBD_EXIT_MEMALLOC 2327
87 #define NDBD_EXIT_BLOCK_JBUFCONGESTION 2334
88 #define NDBD_EXIT_TIME_QUEUE_SHORT 2335
89 #define NDBD_EXIT_TIME_QUEUE_LONG 2336
90 #define NDBD_EXIT_TIME_QUEUE_DELAY 2337
91 #define NDBD_EXIT_TIME_QUEUE_INDEX 2338
92 #define NDBD_EXIT_BLOCK_BNR_ZERO 2339
93 #define NDBD_EXIT_WRONG_PRIO_LEVEL 2340
94 #define NDBD_EXIT_NDBREQUIRE 2341
95 #define NDBD_EXIT_ERROR_INSERT 2342
96 #define NDBD_EXIT_NDBASSERT 2343
97 #define NDBD_EXIT_INVALID_CONFIG 2350
98 #define NDBD_EXIT_OUT_OF_LONG_SIGNAL_MEMORY 2351
99 #define NDBD_EXIT_NO_MORE_REDOLOG 2354
102 #define NDBD_EXIT_RESOURCE_ALLOC_ERROR 2500
104 #define NDBD_EXIT_OS_SIGNAL_RECEIVED 6000
107 #define NDBD_EXIT_WATCHDOG_TERMINATE 6050
108 #define NDBD_EXIT_SIGNAL_LOST 6051
109 #define NDBD_EXIT_SIGNAL_LOST_SEND_BUFFER_FULL 6052
110 #define NDBD_EXIT_ILLEGAL_SIGNAL 6053
111 #define NDBD_EXIT_CONNECTION_SETUP_FAILED 6054
114 #define NDBD_EXIT_RESTART_TIMEOUT 6100
115 #define NDBD_EXIT_RESTART_DURING_SHUTDOWN 6101
119 #define NDBD_EXIT_MAX_CRASHED_REPLICAS 6300
120 #define NDBD_EXIT_MASTER_FAILURE_DURING_NR 6301
121 #define NDBD_EXIT_LOST_NODE_GROUP 6302
122 #define NDBD_EXIT_NO_RESTORABLE_REPLICA 6303
123 #define NDBD_EXIT_UNSUPPORTED_VERSION 6304
125 #define NDBD_EXIT_GRACEFUL_SHUTDOWN_ERROR 6305
128 #define NDBD_EXIT_SR_OUT_OF_INDEXMEMORY 6600
130 #define NDBD_EXIT_SR_OUT_OF_DATAMEMORY 6800
135 #define NDBD_EXIT_AFS_NOPATH 2801
140 #define NDBD_EXIT_AFS_PARAMETER 2804
141 #define NDBD_EXIT_AFS_INVALIDPATH 2805
142 #define NDBD_EXIT_AFS_MAXOPEN 2806
143 #define NDBD_EXIT_AFS_ALREADY_OPEN 2807
145 #define NDBD_EXIT_AFS_ENVIRONMENT 2808
146 #define NDBD_EXIT_AFS_TEMP_NO_ACCESS 2809
147 #define NDBD_EXIT_AFS_DISK_FULL 2810
148 #define NDBD_EXIT_AFS_PERMISSION_DENIED 2811
149 #define NDBD_EXIT_AFS_INVALID_PARAM 2812
150 #define NDBD_EXIT_AFS_UNKNOWN 2813
151 #define NDBD_EXIT_AFS_NO_MORE_RESOURCES 2814
152 #define NDBD_EXIT_AFS_NO_SUCH_FILE 2815
153 #define NDBD_EXIT_AFS_READ_UNDERFLOW 2816
155 #define NDBD_EXIT_INVALID_LCP_FILE 2352
156 #define NDBD_EXIT_INSUFFICENT_NODES 2353
157 #define NDBD_EXIT_RESTORE_SCHEMA 2355
160 ndbd_exit_message(
int faultId, ndbd_exit_classification *cl);
162 ndbd_exit_classification_message(ndbd_exit_classification classification,
163 ndbd_exit_status *status);
165 ndbd_exit_status_message(ndbd_exit_status status);