From 47f314b890b8ce572061d73283169299c4118856 Mon Sep 17 00:00:00 2001 From: Li0k Date: Fri, 24 Jan 2025 01:47:52 +0800 Subject: [PATCH] fix check --- proto/hummock.proto | 2 -- src/meta/src/hummock/manager/compaction/mod.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/proto/hummock.proto b/proto/hummock.proto index 36bc3a9660cdb..383fc1e54e72d 100644 --- a/proto/hummock.proto +++ b/proto/hummock.proto @@ -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 { diff --git a/src/meta/src/hummock/manager/compaction/mod.rs b/src/meta/src/hummock/manager/compaction/mod.rs index 88a731b6e84f0..784c197f827c4 100644 --- a/src/meta/src/hummock/manager/compaction/mod.rs +++ b/src/meta/src/hummock/manager/compaction/mod.rs @@ -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 )); }