这个堆栈信息是不是去掉更友好? #9098
Replies: 3 comments 5 replies
-
|
Stack is used not only for core, but also to detect the potential bugs or errors in the system. For example, if user meets an error during query and BE print error messages, we could not find the call stack if we do not read the code and the code did not print log for every call line. You could read this discussion #8406 I have explained why do we need using exception stack intread of just an error code. Currently, doris print many logs to get the exception stack, it could be deleted because use have exception stack in status. For your case, I think there is an improvement in Status.h. M(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION, -2000, "", true) \ maybe we should set this errorcode not print exception stack. You could set it to M(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION, -2000, "", false). @chenlinzhong This is a very good PR, could you please submit a PR to Doris? |
Beta Was this translation helpful? Give feedback.
-
|
how about add switch control? |
Beta Was this translation helpful? Give feedback.
-
|
1.i think stack log is very important for detect doris runtime status. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
堆栈目的是助力查问题,线上一般的做法是
现在报错都默认打印了栈信息,太密集了,占满了整个屏幕,不利于看日志排查问题
Beta Was this translation helpful? Give feedback.
All reactions