This is an automated email from the ASF dual-hosted git repository.
zhangchen 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 fbf8499999 [improvement](compaction) reduce the memory using on
vertical compaction (#23388)
fbf8499999 is described below
commit fbf8499999fc5c5cfe29645631b9d5452003c5b0
Author: huanghaibin <[email protected]>
AuthorDate: Mon Aug 28 21:54:21 2023 +0800
[improvement](compaction) reduce the memory using on vertical compaction
(#23388)
---
be/src/olap/primary_key_index.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/olap/primary_key_index.cpp
b/be/src/olap/primary_key_index.cpp
index d03d0312bb..9451a8c0fd 100644
--- a/be/src/olap/primary_key_index.cpp
+++ b/be/src/olap/primary_key_index.cpp
@@ -84,6 +84,8 @@ Status
PrimaryKeyIndexBuilder::finalize(segment_v2::PrimaryKeyIndexMetaPB* meta)
RETURN_IF_ERROR(
_bloom_filter_index_builder->finish(_file_writer,
meta->mutable_bloom_filter_index()));
_disk_size += _file_writer->bytes_appended() - start_size;
+ _primary_key_index_builder.reset(nullptr);
+ _bloom_filter_index_builder.reset(nullptr);
return Status::OK();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]