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

yiguolei 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 70d234ca6d [bugfix](reader) make segment_overlapping meta correct 
(#16793)
70d234ca6d is described below

commit 70d234ca6dee792b487ecdaa416b147f442e92d9
Author: yixiutt <102007456+yixi...@users.noreply.github.com>
AuthorDate: Thu Feb 16 08:41:52 2023 +0800

    [bugfix](reader) make segment_overlapping meta correct (#16793)
---
 be/src/olap/rowset/beta_rowset_writer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/beta_rowset_writer.cpp 
b/be/src/olap/rowset/beta_rowset_writer.cpp
index 24602f36ec..1185a81481 100644
--- a/be/src/olap/rowset/beta_rowset_writer.cpp
+++ b/be/src/olap/rowset/beta_rowset_writer.cpp
@@ -727,7 +727,7 @@ bool BetaRowsetWriter::_is_segment_overlapping(
     for (auto segment_encode_key : segments_encoded_key_bounds) {
         auto cur_min = segment_encode_key.min_key();
         auto cur_max = segment_encode_key.max_key();
-        if (cur_min < last) {
+        if (cur_min <= last) {
             return true;
         }
         last = cur_max;


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

Reply via email to