This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new f019364bff3 branch-3.0: [improvement](mow) don't submit calc delete bitmap task if rowset is empty #50500 (#50519) f019364bff3 is described below commit f019364bff3ce73eccd81b1453af95798286259f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 30 17:48:41 2025 +0800 branch-3.0: [improvement](mow) don't submit calc delete bitmap task if rowset is empty #50500 (#50519) Cherry-picked from #50500 Co-authored-by: zhannngchen <zhangc...@selectdb.com> --- be/src/olap/rowset_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/rowset_builder.cpp b/be/src/olap/rowset_builder.cpp index eb855ab1316..ecc18fbc94b 100644 --- a/be/src/olap/rowset_builder.cpp +++ b/be/src/olap/rowset_builder.cpp @@ -258,7 +258,7 @@ Status BaseRowsetBuilder::build_rowset() { } Status BaseRowsetBuilder::submit_calc_delete_bitmap_task() { - if (!_tablet->enable_unique_key_merge_on_write()) { + if (!_tablet->enable_unique_key_merge_on_write() || _rowset->num_segments() == 0) { return Status::OK(); } std::lock_guard<std::mutex> l(_lock); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org