This is an automated email from the ASF dual-hosted git repository. eldenmoon 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 232e8189da9 [Fix](segment compaction) _check_and_set_is_doing_segcompaction should be the last condition (#33041) 232e8189da9 is described below commit 232e8189da981ab1f0eca39ffc721dfa3640e403 Author: lihangyu <15605149...@163.com> AuthorDate: Fri Mar 29 19:40:08 2024 +0800 [Fix](segment compaction) _check_and_set_is_doing_segcompaction should be the last condition (#33041) introduced by #33001 --- be/src/olap/rowset/beta_rowset_writer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/olap/rowset/beta_rowset_writer.cpp b/be/src/olap/rowset/beta_rowset_writer.cpp index 626a7c84ce0..eefe8116779 100644 --- a/be/src/olap/rowset/beta_rowset_writer.cpp +++ b/be/src/olap/rowset/beta_rowset_writer.cpp @@ -508,8 +508,8 @@ Status BetaRowsetWriter::_segcompaction_if_necessary() { // otherwise _segcompacting_cond will never get notified if (!config::enable_segcompaction || !_context.enable_segcompaction || !_context.tablet_schema->cluster_key_idxes().empty() || - !_check_and_set_is_doing_segcompaction() || - _context.tablet_schema->num_variant_columns() > 0) { + _context.tablet_schema->num_variant_columns() > 0 || + !_check_and_set_is_doing_segcompaction()) { return status; } if (_segcompaction_status.load() != OK) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org