Skip to content

Commit

Permalink
[improvement](compaction) reduce the memory using on vertical compact…
Browse files Browse the repository at this point in the history
…ion (#23388)
  • Loading branch information
hust-hhb authored Aug 28, 2023
1 parent 6f3e2a3 commit fbf8499
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/olap/primary_key_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit fbf8499

Please sign in to comment.