From 4ea879e48e94b6ad3af11ed2f5b888b875be7f70 Mon Sep 17 00:00:00 2001 From: airborne12 Date: Thu, 1 Aug 2024 11:23:21 +0800 Subject: [PATCH] [Regression](inverted index) fix build index case for wrong debug point #38112 (#38649) cherry pick from #38112 --- .../test_index_builder_drop_index_fault_injection.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy b/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy index bc378727e9a523..0df3bc018d27e6 100644 --- a/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy +++ b/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy @@ -31,7 +31,7 @@ suite("test_index_builder_drop_index_fault_injection", "nonConcurrent") { assertEquals(show_result[3].Key_name, "index_k5") try { - GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 3]) + GetDebugPoint().enableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index", [indexes_count: 3]) sql "DROP INDEX index_int ON ${indexTbName}" show_result = sql_return_maparray "show index from ${indexTbName}" logger.info("show index from " + indexTbName + " result: " + show_result) @@ -44,7 +44,7 @@ suite("test_index_builder_drop_index_fault_injection", "nonConcurrent") { } try { - GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 2]) + GetDebugPoint().enableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index", [indexes_count: 2]) sql "DROP INDEX index_str_k2 ON ${indexTbName}" show_result = sql_return_maparray "show index from ${indexTbName}" logger.info("show index from " + indexTbName + " result: " + show_result) @@ -56,7 +56,7 @@ suite("test_index_builder_drop_index_fault_injection", "nonConcurrent") { } try { - GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 1]) + GetDebugPoint().enableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index", [indexes_count: 1]) sql "DROP INDEX index_str_k4 ON ${indexTbName}" show_result = sql_return_maparray "show index from ${indexTbName}" logger.info("show index from " + indexTbName + " result: " + show_result) @@ -67,7 +67,7 @@ suite("test_index_builder_drop_index_fault_injection", "nonConcurrent") { } try { - GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 0]) + GetDebugPoint().enableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index", [indexes_count: 0]) sql "DROP INDEX index_k5 ON ${indexTbName}" show_result = sql_return_maparray "show index from ${indexTbName}" logger.info("show index from " + indexTbName + " result: " + show_result)