You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ai...@apache.org on 2024/07/31 11:43:42 UTC

(doris) branch branch-2.1 updated: [Regression](inverted index) fix build index case for wrong debug point #38112 (#38578)

This is an automated email from the ASF dual-hosted git repository.

airborne pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 71b92c94074 [Regression](inverted index) fix build index case for wrong debug point #38112 (#38578)
71b92c94074 is described below

commit 71b92c940745522139c09c56e18b239c6e68c706
Author: airborne12 <ai...@gmail.com>
AuthorDate: Wed Jul 31 19:43:35 2024 +0800

    [Regression](inverted index) fix build index case for wrong debug point #38112 (#38578)
    
    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 e4a620aa9d1..f8501f0e851 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)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org