xinyiZzz commented on code in PR #37713:
URL: https://github.com/apache/doris/pull/37713#discussion_r1678888776
##########
be/src/vec/common/allocator.cpp:
##########
@@ -64,9 +64,9 @@ void Allocator<clear_memory_, mmap_populate,
use_mmap>::sys_memory_check(size_t
[[maybe_unused]] auto stack_trace_st =
doris::Status::Error<doris::ErrorCode::MEM_ALLOC_FAILED,
true>(
injection_err_msg);
-#ifndef ENABLE_STACKTRACE
- LOG(INFO) << stack_trace_st.to_string();
-#endif
+ if (!doris::config::enable_stacktrace) {
Review Comment:
No, it is `if (!doris::config::enable_stacktrace)`
u can see before it was `#ifndef` `ENABLE_STACKTRACE`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]