Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian committed Dec 5, 2024
1 parent 9252dbd commit 36efba9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 63 deletions.
3 changes: 0 additions & 3 deletions be/src/olap/cumulative_compaction_policy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ int SizeBasedCumulativeCompactionPolicy::pick_input_rowsets(
}
DBUG_EXECUTE_IF("SizeBaseCumulativeCompactionPolicy.pick_input_rowsets.return_input_rowsets",
{ return transient_size; })
DBUG_EXECUTE_IF(
"SizeBaseCumulativeCompactionPolicy.pick_input_rowsets.set_promotion_size_to_max",
{ promotion_size = INT64_MAX; })

if (total_size >= promotion_size) {
return transient_size;
Expand Down
3 changes: 0 additions & 3 deletions be/src/olap/tablet_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <gen_cpp/MasterService_types.h>
#include <gen_cpp/Types_types.h>
#include <gen_cpp/olap_file.pb.h>
#include <glog/logging.h>
#include <re2/re2.h>
#include <unistd.h>

Expand Down Expand Up @@ -776,8 +775,6 @@ std::vector<TabletSharedPtr> TabletManager::find_best_tablets_to_compaction(
last_failure_ms = tablet_ptr->last_base_compaction_failure_time();
}
if (now_ms - last_failure_ms <= 5000) {
DBUG_EXECUTE_IF("TabletManager::find_best_tablets_to_compaction.dcheck",
{ DCHECK(false) << "Too often to check compaction"; })
VLOG_DEBUG << "Too often to check compaction, skip it. "
<< "compaction_type=" << compaction_type_str
<< ", last_failure_time_ms=" << last_failure_ms
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 36efba9

Please sign in to comment.