This is an automated email from the ASF dual-hosted git repository.
morningman 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 306e004ece [bugfix](reader) make segment_overlapping meta correct
(#16828)
306e004ece is described below
commit 306e004ece81487bbdf789de548537b9a64debcc
Author: yixiutt <[email protected]>
AuthorDate: Thu Feb 16 16:47:19 2023 +0800
[bugfix](reader) make segment_overlapping meta correct (#16828)
cherry-pick #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 081df80633..a18d8c5f67 100644
--- a/be/src/olap/rowset/beta_rowset_writer.cpp
+++ b/be/src/olap/rowset/beta_rowset_writer.cpp
@@ -799,7 +799,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: [email protected]
For additional commands, e-mail: [email protected]