From 3762877b55bb5187533023b582c0f7f8901f0323 Mon Sep 17 00:00:00 2001 From: Li0k Date: Fri, 6 Sep 2024 16:06:49 +0800 Subject: [PATCH] fix(storage): fix commit_epoch new_sst_id_number (#18438) --- src/meta/src/hummock/manager/commit_epoch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/src/hummock/manager/commit_epoch.rs b/src/meta/src/hummock/manager/commit_epoch.rs index 4f7a62da41779..e7bca768437f2 100644 --- a/src/meta/src/hummock/manager/commit_epoch.rs +++ b/src/meta/src/hummock/manager/commit_epoch.rs @@ -397,7 +397,7 @@ impl HummockManager { } } - new_sst_id_number += group_table_ids.len(); + new_sst_id_number += group_table_ids.len() * 2; // `split_sst` will split the SST into two parts and consumer 2 SST IDs sst_to_cg_vec.push((commit_sst, group_table_ids)); }