Unify the msg of 'Memory exceed limit' (#1737)
The new msg of limit exceed: "Memory exceed limit. %msg, Backend:%ip, fragment:%id Used:% , Limit:%. xxx". This commit unifies the msg of 'Memory exceed limit' such as check_query_state, RETURN_IF_LIMIT_EXCEEDED and LIMIT_EXCEEDED.
This commit is contained in:
@ -724,10 +724,10 @@ Status ExecNode::enable_deny_reservation_debug_action() {
|
||||
}
|
||||
*/
|
||||
|
||||
Status ExecNode::QueryMaintenance(RuntimeState* state) {
|
||||
Status ExecNode::QueryMaintenance(RuntimeState* state, const std::string& msg) {
|
||||
// TODO chenhao , when introduce latest AnalyticEvalNode open it
|
||||
// ScalarExprEvaluator::FreeLocalAllocations(evals_to_free_);
|
||||
return state->check_query_state();
|
||||
return state->check_query_state(msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user