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

lide pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 736bd416cf [bugfix](compaction) fix quick compaction core (#17378)
736bd416cf is described below

commit 736bd416cf8aa7f94065b651be5697f5b63fbe71
Author: yixiutt <102007456+yixi...@users.noreply.github.com>
AuthorDate: Fri Mar 3 11:11:14 2023 +0800

    [bugfix](compaction) fix quick compaction core (#17378)
---
 be/src/olap/tablet.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp
index 2b096d5abb..4f05cacd24 100644
--- a/be/src/olap/tablet.cpp
+++ b/be/src/olap/tablet.cpp
@@ -969,7 +969,7 @@ Status 
Tablet::pick_quick_compaction_rowsets(std::vector<RowsetSharedPtr>* input
                     quick_compaction_rowsets[idx].push_back(sortedRowset[i]);
                 } else {
                     idx++;
-                    if (idx > max_series_num) {
+                    if (idx >= max_series_num) {
                         break;
                     }
                 }


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

Reply via email to