Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k committed Jan 23, 2025
1 parent 8967c87 commit 47f314b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions proto/hummock.proto
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,6 @@ message CompactionConfig {
optional uint32 level0_stop_write_threshold_max_sst_count = 27;
// The limitation of the max sst size of the level0 to trigger the write stop
optional uint64 level0_stop_write_threshold_max_size = 28;


}

message TableStats {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/src/hummock/manager/compaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ pub fn check_cg_write_limit(
// level count
if threshold < l0_sub_level_number {
return WriteLimitType::WriteStop(format!(
"WriteStop(l0_sub_level_number: {}, threshold: {}) too many L0 sub levels",
"WriteStop(l0_level_count: {}, threshold: {}) too many L0 sub levels",
l0_sub_level_number, threshold
));
}
Expand Down

0 comments on commit 47f314b

Please sign in to comment.