Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Dec 19, 2024
1 parent d23c307 commit 472155c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions be/src/olap/compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,6 @@ bool is_rowset_tidy(std::string& pre_max_key, bool& pre_rs_key_bounds_truncated,
return false;
}
bool cur_rs_key_bounds_truncated {rhs->is_segments_key_bounds_truncated()};
{
bool res = Slice::origin_is_strictly_less_than(Slice {pre_max_key},
pre_rs_key_bounds_truncated, Slice {min_key},
cur_rs_key_bounds_truncated);
LOG(INFO) << fmt::format(
"[xxx is_rowset_tidy] result={}\npre_rs_last_key={}, len={}, "
"truncated={}\nrs_first_key={}, len={}, trunacted={}",
res, pre_max_key, pre_max_key.size(), pre_rs_key_bounds_truncated, min_key,
min_key.size(), cur_rs_key_bounds_truncated);
}
if (!Slice::origin_is_strictly_less_than(Slice {pre_max_key}, pre_rs_key_bounds_truncated,
Slice {min_key}, cur_rs_key_bounds_truncated)) {
return false;
Expand Down
11 changes: 0 additions & 11 deletions be/src/vec/olap/block_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ bool BlockReader::_rowsets_not_mono_asc_disjoint(const ReaderParams& read_params
}
bool cur_rs_key_bounds_truncated {
rs_split.rs_reader->rowset()->is_segments_key_bounds_truncated()};
{
// delete me later
bool res = Slice::origin_is_strictly_less_than(
Slice {pre_rs_last_key}, pre_rs_key_bounds_truncated, Slice {rs_first_key},
cur_rs_key_bounds_truncated);
LOG(INFO) << fmt::format(
"xxx result={}\npre_rs_last_key={}, len={}, truncated={}\nrs_first_key={}, "
"len={}, trunacted={}",
res, pre_rs_last_key, pre_rs_last_key.size(), pre_rs_key_bounds_truncated,
rs_first_key, rs_first_key.size(), cur_rs_key_bounds_truncated);
}
if (!Slice::origin_is_strictly_less_than(Slice {pre_rs_last_key},
pre_rs_key_bounds_truncated, Slice {rs_first_key},
cur_rs_key_bounds_truncated)) {
Expand Down

0 comments on commit 472155c

Please sign in to comment.