diff --git a/be/src/common/status.h b/be/src/common/status.h index 58bd7270b8..b0c9433cfa 100644 --- a/be/src/common/status.h +++ b/be/src/common/status.h @@ -361,7 +361,9 @@ public: void check_init() { //the signal value is 0, it means the global error states not inited, it's logical error // DO NOT use dcheck here, because dcheck depend on glog, and glog maybe not inited at this time. - assert(signal_value != 0); + if (signal_value == 0) { + exit(-1); + } } private: