This is an automated email from the ASF dual-hosted git repository.

yiguolei 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 346fdeeee0 [fix](ut) Fix BE UT BetaRowsetTest failed (#11500)
346fdeeee0 is described below

commit 346fdeeee0c1e49086de43068dcae658fd736ffc
Author: Xinyi Zou <zouxiny...@gmail.com>
AuthorDate: Thu Aug 4 17:57:57 2022 +0800

    [fix](ut) Fix BE UT BetaRowsetTest failed (#11500)
---
 be/src/olap/rowset/segment_v2/segment.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/olap/rowset/segment_v2/segment.cpp 
b/be/src/olap/rowset/segment_v2/segment.cpp
index a9deeed6e5..735ae3c4e9 100644
--- a/be/src/olap/rowset/segment_v2/segment.cpp
+++ b/be/src/olap/rowset/segment_v2/segment.cpp
@@ -63,7 +63,9 @@ Segment::Segment(uint32_t segment_id, TabletSchemaSPtr 
tablet_schema)
         : _segment_id(segment_id), _tablet_schema(tablet_schema), 
_meta_mem_usage(0) {}
 
 Segment::~Segment() {
+#ifndef BE_TEST
     
StorageEngine::instance()->segment_meta_mem_tracker()->release(_meta_mem_usage);
+#endif
 }
 
 Status Segment::_open() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to