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

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


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new ab9a0f7c470 branch-4.1: [fix](regression) Select compaction profile BE 
by tablet replica #65552 (#65720)
ab9a0f7c470 is described below

commit ab9a0f7c47034e32d1770fc88f5a92727525514b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jul 17 14:28:58 2026 +0800

    branch-4.1: [fix](regression) Select compaction profile BE by tablet 
replica #65552 (#65720)
    
    Cherry-picked from #65552
    
    Co-authored-by: shuke <[email protected]>
---
 .../suites/compaction/test_compaction_profile_action.groovy      | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git 
a/regression-test/suites/compaction/test_compaction_profile_action.groovy 
b/regression-test/suites/compaction/test_compaction_profile_action.groovy
index 8882aab6795..9eae22eac0d 100644
--- a/regression-test/suites/compaction/test_compaction_profile_action.groovy
+++ b/regression-test/suites/compaction/test_compaction_profile_action.groovy
@@ -25,11 +25,6 @@ suite("test_compaction_profile_action", "p0") {
     def backendId_to_backendHttpPort = [:]
     getBackendIpHttpPort(backendId_to_backendIP, backendId_to_backendHttpPort)
 
-    String backend_id = backendId_to_backendIP.keySet()[0]
-    def beHost = backendId_to_backendIP[backend_id]
-    def beHttpPort = backendId_to_backendHttpPort[backend_id]
-    def baseUrl = "http://${beHost}:${beHttpPort}/api/compaction/profile";
-
     try {
         // Step 2: Create table, insert data, trigger compaction, wait for 
completion
         sql """ DROP TABLE IF EXISTS ${tableName} """
@@ -64,6 +59,10 @@ suite("test_compaction_profile_action", "p0") {
         assertTrue(tablets.size() > 0)
         def tablet = tablets[0]
         String tablet_id = tablet.TabletId
+        String backend_id = tablet.BackendId
+        def beHost = backendId_to_backendIP[backend_id]
+        def beHttpPort = backendId_to_backendHttpPort[backend_id]
+        def baseUrl = "http://${beHost}:${beHttpPort}/api/compaction/profile";
 
         // Trigger compaction and wait for completion
         trigger_and_wait_compaction(tableName, "cumulative")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to