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

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


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 6767f00642 [bugfix](compaction) fix quick compaction core (#14731)
6767f00642 is described below

commit 6767f00642b96ab4ac1f593a67fb64c6484a9fd1
Author: yixiutt <[email protected]>
AuthorDate: Fri Dec 2 11:19:34 2022 +0800

    [bugfix](compaction) fix quick compaction core (#14731)
---
 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 5991989a77..2ffaebd0b3 100644
--- a/be/src/olap/tablet.cpp
+++ b/be/src/olap/tablet.cpp
@@ -899,7 +899,7 @@ OLAPStatus 
Tablet::pick_quick_compaction_rowsets(std::vector<RowsetSharedPtr>* i
                     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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to