forked from huawei/openGauss-server
解决:【业务范畴:分布式】【测试类型:压力长稳】【测试活动:专项】【专项名称:压力长稳】【环境:裸机】执行TPCC+混合DDL、DML业务,CN产生hang
This commit is contained in:
parent
080c54c9da
commit
9bb33c2a4b
|
|
@ -514,7 +514,10 @@ void errfinish(int dummy, ...)
|
|||
if (edata->elevel >= u_sess->attr.attr_common.backtrace_min_messages) {
|
||||
StringInfoData buf;
|
||||
initStringInfo(&buf);
|
||||
|
||||
HOLD_INTERRUPTS();
|
||||
int ret = output_backtrace_to_log(&buf);
|
||||
RESUME_INTERRUPTS();
|
||||
|
||||
if (0 == ret) {
|
||||
edata->backtrace_log = pstrdup(buf.data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue