[bugfix](reader) make segment_overlapping meta correct (#16793)

This commit is contained in:
yixiutt
2023-02-16 08:41:52 +08:00
committed by GitHub
parent 3b26235e7e
commit 70d234ca6d

View File

@ -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;