From 7e030d9217f6f78883131aac4d4b209aae62b52d Mon Sep 17 00:00:00 2001 From: Yukang-Lian Date: Thu, 28 Aug 2025 22:48:20 +0800 Subject: [PATCH 1/2] 1 --- .../test_cloud_drop_and_recover_partition_show_data.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy index b067ad5d9ad25d..9534066b8996f6 100644 --- a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy +++ b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_and_recover_partition_show_data.groovy @@ -162,6 +162,8 @@ suite("test_cloud_drop_and_recover_partition_show_data","p2, nonConcurrent") { assertEquals(sizeRecords["apiSize"][0], sizeRecords["apiSize"][1]) assertEquals(sizeRecords["cbsSize"][0], sizeRecords["cbsSize"][1]) + sql """admin set frontend config ("catalog_trash_expire_second" = "30")""" + if (op == 1){ sql """alter table ${tableName} drop partition p1;""" } else if(op == 2){ @@ -192,6 +194,8 @@ suite("test_cloud_drop_and_recover_partition_show_data","p2, nonConcurrent") { } else if(op == 2){ sql """recover partition p19920101000000 from ${tableName};""" } + + sql """admin set frontend config ("catalog_trash_expire_second" = "1")""" // after drop partition,tablets will changed,need get new tablets tablets = get_tablets_from_table(tableName) From b9faebc568810388aa69493e29180e1aff4c038a Mon Sep 17 00:00:00 2001 From: Yukang-Lian Date: Fri, 29 Aug 2025 10:38:45 +0800 Subject: [PATCH 2/2] 2 --- .../test_table_operation/test_cloud_drop_table_show_data.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy index e80deb85834713..8eb20b916fb5af 100644 --- a/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy +++ b/regression-test/suites/show_data_p2/test_table_operation/test_cloud_drop_table_show_data.groovy @@ -91,11 +91,13 @@ suite("test_cloud_drop_and_show_data","p2, nonConcurrent") { if(op == 1){ + sql """admin set frontend config ("catalog_trash_expire_second" = "30")""" sql """drop table ${tableName}""" sleep(10 * 1000) sql """recover table ${tableName}""" + sql """admin set frontend config ("catalog_trash_expire_second" = "1")""" // 加一下触发compaction的机制 trigger_compaction(tablets)