This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new f87d81c48db [fix](bash) Make sure that the `prof_prefix` defined in
`JEMALLOC_CONF` is not overwritten in start_be.sh (#38354)
f87d81c48db is described below
commit f87d81c48db801d481ee879d167af94bbf6bcfeb
Author: yagagagaga <[email protected]>
AuthorDate: Mon Jul 29 14:46:47 2024 +0800
[fix](bash) Make sure that the `prof_prefix` defined in `JEMALLOC_CONF` is
not overwritten in start_be.sh (#38354)
---
bin/start_be.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/start_be.sh b/bin/start_be.sh
index c2a4e5c8f9c..cb51d8f381a 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -407,8 +407,8 @@ if [[ -z ${JEMALLOC_CONF} ]]; then
fi
if [[ -z ${JEMALLOC_PROF_PRFIX} ]]; then
- export JEMALLOC_CONF="${JEMALLOC_CONF},prof_prefix:"
- export MALLOC_CONF="${JEMALLOC_CONF},prof_prefix:"
+ export JEMALLOC_CONF="prof_prefix:,${JEMALLOC_CONF}"
+ export MALLOC_CONF="prof_prefix:,${JEMALLOC_CONF}"
else
JEMALLOC_PROF_PRFIX="${DORIS_HOME}/log/${JEMALLOC_PROF_PRFIX}"
export JEMALLOC_CONF="${JEMALLOC_CONF},prof_prefix:${JEMALLOC_PROF_PRFIX}"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]